clients/libs/components
Bryan Cunningham 0aaab9fe52
[CL-820] Switch component (#16216)
* Add switch component

* fix focus state

* updating stories

* add switch role

* updated story docs code examples

* Add max length and long label story

* Add disabled reason text

* fix hint spacing

* support rtl thumb transform

* use correct input syntax. assign value to template variable

* remove pointer when disabled

* Show disabled text as title if it exists

* add basic switch component tests

* keep switch top aligned

* move switch back to right side of label

* add max width to label and hint

* updated switch story docs

* fix story html formatting

* better comment about which are ControlValueAccessor functions

* add JSDoc comment about model signals

* update methods to mirror search input format

* fix notify function type

* fix typo

* throw error if label is not provided

* add hover and focus states

* add label to failing spec

* import bit-label
2025-09-08 15:14:03 -04:00
..
src [CL-820] Switch component (#16216) 2025-09-08 15:14:03 -04:00
.gitignore Simplify our gitignore files (#2925) 2022-06-17 15:33:51 +02:00
jest.config.js Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
package.json [EC-512] Tree shakeable icons (#3427) 2022-09-06 08:21:59 +02:00
tailwind.config.base.js [CL-836] Extract base css variables (#14733) 2025-08-29 10:43:38 +02:00
tailwind.config.js [CL-573] Move all svg icons to new libs/assets (#16020) 2025-08-21 11:35:59 -05:00
test.setup.ts [PM-18599] Forbid unknown property and element in tests (#13556) 2025-02-25 14:02:19 -08:00
tsconfig.app.json Move to libs 2022-06-03 16:24:40 +02:00
tsconfig.json Implement and extend tsconfig.base across projects (#14554) 2025-06-02 20:38:17 +00:00
tsconfig.spec.json [CL-525] Upgrade angular to v19 (#14815) 2025-06-02 13:13:31 -04:00