@haiilo/catalyst 0.9.0 → 0.10.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/catalyst/catalyst.css +1 -1
- package/dist/catalyst/catalyst.esm.js +1 -1
- package/dist/catalyst/catalyst.esm.js.map +1 -1
- package/dist/catalyst/index.esm.js +1 -1
- package/dist/catalyst/{p-6a8a4dc0.js → p-8121572a.js} +3 -3
- package/dist/catalyst/p-8121572a.js.map +1 -0
- package/dist/catalyst/p-942b9736.entry.js +12 -0
- package/dist/catalyst/p-942b9736.entry.js.map +1 -0
- package/dist/catalyst/scss/_variables.scss +2 -1
- package/dist/catalyst/scss/core/_typography.scss +7 -7
- package/dist/catalyst/scss/index.scss +1 -5
- package/dist/cjs/{cat-alert_20.cjs.entry.js → cat-alert_21.cjs.entry.js} +152 -30
- package/dist/cjs/cat-alert_21.cjs.entry.js.map +1 -0
- package/dist/cjs/{cat-notification-fe237312.js → cat-notification-c2859ed7.js} +121 -1
- package/dist/cjs/cat-notification-c2859ed7.js.map +1 -0
- package/dist/cjs/catalyst.cjs.js +1 -5
- package/dist/cjs/catalyst.cjs.js.map +1 -1
- package/dist/cjs/index.cjs.js +3 -4
- package/dist/cjs/index.cjs.js.map +1 -1
- package/dist/cjs/loader.cjs.js +1 -5
- package/dist/cjs/loader.cjs.js.map +1 -1
- package/dist/collection/collection-manifest.json +2 -2
- package/dist/collection/components/cat-button/cat-button.css +12 -11
- package/dist/collection/components/cat-card/cat-card.css +35 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.css +4 -0
- package/dist/collection/components/cat-checkbox/cat-checkbox.js +23 -1
- package/dist/collection/components/cat-checkbox/cat-checkbox.js.map +1 -1
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js +3 -2
- package/dist/collection/components/cat-i18n/cat-i18n-registry.js.map +1 -1
- package/dist/collection/components/cat-radio/cat-radio.css +7 -0
- package/dist/collection/components/cat-radio/cat-radio.js +25 -2
- package/dist/collection/components/cat-radio/cat-radio.js.map +1 -1
- package/dist/collection/components/cat-radio-group/cat-radio-group.css +12 -0
- package/dist/collection/components/cat-radio-group/cat-radio-group.js +179 -0
- package/dist/collection/components/cat-radio-group/cat-radio-group.js.map +1 -0
- package/dist/collection/components/cat-select/cat-select.css +35 -20
- package/dist/collection/components/cat-select/cat-select.js +54 -14
- package/dist/collection/components/cat-select/cat-select.js.map +1 -1
- package/dist/collection/components/cat-toggle/cat-toggle.css +4 -0
- package/dist/collection/components/cat-toggle/cat-toggle.js +25 -3
- package/dist/collection/components/cat-toggle/cat-toggle.js.map +1 -1
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/scss/_variables.scss +2 -1
- package/dist/collection/scss/core/_typography.scss +7 -7
- package/dist/collection/scss/index.scss +1 -5
- package/dist/components/cat-button2.js +1 -1
- package/dist/components/cat-button2.js.map +1 -1
- package/dist/components/cat-card.js +1 -1
- package/dist/components/cat-card.js.map +1 -1
- package/dist/components/cat-checkbox.js +7 -2
- package/dist/components/cat-checkbox.js.map +1 -1
- package/dist/components/cat-i18n-registry.js +3 -2
- package/dist/components/cat-i18n-registry.js.map +1 -1
- package/dist/components/cat-radio-group.d.ts +11 -0
- package/dist/components/cat-radio-group.js +111 -0
- package/dist/components/cat-radio-group.js.map +1 -0
- package/dist/components/cat-radio.js +9 -3
- package/dist/components/cat-radio.js.map +1 -1
- package/dist/components/cat-select.js +41 -15
- package/dist/components/cat-select.js.map +1 -1
- package/dist/components/cat-toggle.js +8 -3
- package/dist/components/cat-toggle.js.map +1 -1
- package/dist/components/index.d.ts +1 -0
- package/dist/components/index.js +1 -253
- package/dist/components/index.js.map +1 -1
- package/dist/esm/{cat-alert_20.entry.js → cat-alert_21.entry.js} +149 -28
- package/dist/esm/cat-alert_21.entry.js.map +1 -0
- package/dist/esm/{cat-notification-a9655c00.js → cat-notification-3da6ddb1.js} +121 -3
- package/dist/esm/cat-notification-3da6ddb1.js.map +1 -0
- package/dist/esm/catalyst.js +1 -5
- package/dist/esm/catalyst.js.map +1 -1
- package/dist/esm/index.js +1 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/loader.js +1 -5
- package/dist/esm/loader.js.map +1 -1
- package/dist/types/components/cat-checkbox/cat-checkbox.d.ts +4 -0
- package/dist/types/components/cat-radio/cat-radio.d.ts +4 -0
- package/dist/types/components/cat-radio-group/cat-radio-group.d.ts +29 -0
- package/dist/types/components/cat-select/cat-select.d.ts +7 -1
- package/dist/types/components/cat-toggle/cat-toggle.d.ts +5 -1
- package/dist/types/components.d.ts +75 -2
- package/dist/types/index.d.ts +1 -0
- package/package.json +2 -2
- package/dist/catalyst/p-0c1a611f.entry.js +0 -12
- package/dist/catalyst/p-0c1a611f.entry.js.map +0 -1
- package/dist/catalyst/p-6a8a4dc0.js.map +0 -1
- package/dist/catalyst/p-decdc6f1.js +0 -2
- package/dist/catalyst/p-decdc6f1.js.map +0 -1
- package/dist/catalyst/p-f45bcfd6.js +0 -2
- package/dist/catalyst/p-f45bcfd6.js.map +0 -1
- package/dist/cjs/app-globals-79765026.js +0 -256
- package/dist/cjs/app-globals-79765026.js.map +0 -1
- package/dist/cjs/cat-alert_20.cjs.entry.js.map +0 -1
- package/dist/cjs/cat-icon-registry-b015a65f.js +0 -125
- package/dist/cjs/cat-icon-registry-b015a65f.js.map +0 -1
- package/dist/cjs/cat-notification-fe237312.js.map +0 -1
- package/dist/collection/init.js +0 -17
- package/dist/collection/init.js.map +0 -1
- package/dist/esm/app-globals-7d163b94.js +0 -254
- package/dist/esm/app-globals-7d163b94.js.map +0 -1
- package/dist/esm/cat-alert_20.entry.js.map +0 -1
- package/dist/esm/cat-icon-registry-dc1ef79a.js +0 -122
- package/dist/esm/cat-icon-registry-dc1ef79a.js.map +0 -1
- package/dist/esm/cat-notification-a9655c00.js.map +0 -1
- package/dist/types/init.d.ts +0 -1
|
@@ -177,6 +177,10 @@ export namespace Components {
|
|
|
177
177
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
178
178
|
*/
|
|
179
179
|
"labelHidden": boolean;
|
|
180
|
+
/**
|
|
181
|
+
* Whether the label should appear to the left of the checkbox.
|
|
182
|
+
*/
|
|
183
|
+
"labelLeft": boolean;
|
|
180
184
|
/**
|
|
181
185
|
* The name of the input
|
|
182
186
|
*/
|
|
@@ -341,6 +345,10 @@ export namespace Components {
|
|
|
341
345
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
342
346
|
*/
|
|
343
347
|
"labelHidden": boolean;
|
|
348
|
+
/**
|
|
349
|
+
* Whether the label should appear to the left of the radio component.
|
|
350
|
+
*/
|
|
351
|
+
"labelLeft": boolean;
|
|
344
352
|
/**
|
|
345
353
|
* The name of the radio component.
|
|
346
354
|
*/
|
|
@@ -359,6 +367,24 @@ export namespace Components {
|
|
|
359
367
|
*/
|
|
360
368
|
"value"?: string;
|
|
361
369
|
}
|
|
370
|
+
interface CatRadioGroup {
|
|
371
|
+
/**
|
|
372
|
+
* Adds an accessible label for the radio group that it is only shown in assistive technologies, like screen readers.
|
|
373
|
+
*/
|
|
374
|
+
"a11yLabel"?: string;
|
|
375
|
+
/**
|
|
376
|
+
* Whether this radio group is disabled.
|
|
377
|
+
*/
|
|
378
|
+
"disabled": boolean;
|
|
379
|
+
/**
|
|
380
|
+
* Whether the label of the radios should appear to the left of them.
|
|
381
|
+
*/
|
|
382
|
+
"labelLeft": boolean;
|
|
383
|
+
/**
|
|
384
|
+
* The name of the radio group component.
|
|
385
|
+
*/
|
|
386
|
+
"name"?: string;
|
|
387
|
+
}
|
|
362
388
|
interface CatScrollable {
|
|
363
389
|
/**
|
|
364
390
|
* Flags to disable/enable overflowX.
|
|
@@ -597,12 +623,16 @@ export namespace Components {
|
|
|
597
623
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
598
624
|
*/
|
|
599
625
|
"labelHidden": boolean;
|
|
626
|
+
/**
|
|
627
|
+
* Whether the label should appear to the left of the toggle.
|
|
628
|
+
*/
|
|
629
|
+
"labelLeft": boolean;
|
|
600
630
|
/**
|
|
601
631
|
* The name of the input
|
|
602
632
|
*/
|
|
603
633
|
"name"?: string;
|
|
604
634
|
/**
|
|
605
|
-
* Required state of the toggle
|
|
635
|
+
* Required state of the toggle.
|
|
606
636
|
*/
|
|
607
637
|
"required": boolean;
|
|
608
638
|
/**
|
|
@@ -749,6 +779,12 @@ declare global {
|
|
|
749
779
|
prototype: HTMLCatRadioElement;
|
|
750
780
|
new (): HTMLCatRadioElement;
|
|
751
781
|
};
|
|
782
|
+
interface HTMLCatRadioGroupElement extends Components.CatRadioGroup, HTMLStencilElement {
|
|
783
|
+
}
|
|
784
|
+
var HTMLCatRadioGroupElement: {
|
|
785
|
+
prototype: HTMLCatRadioGroupElement;
|
|
786
|
+
new (): HTMLCatRadioGroupElement;
|
|
787
|
+
};
|
|
752
788
|
interface HTMLCatScrollableElement extends Components.CatScrollable, HTMLStencilElement {
|
|
753
789
|
}
|
|
754
790
|
var HTMLCatScrollableElement: {
|
|
@@ -821,6 +857,7 @@ declare global {
|
|
|
821
857
|
"cat-menu": HTMLCatMenuElement;
|
|
822
858
|
"cat-modal": HTMLCatModalElement;
|
|
823
859
|
"cat-radio": HTMLCatRadioElement;
|
|
860
|
+
"cat-radio-group": HTMLCatRadioGroupElement;
|
|
824
861
|
"cat-scrollable": HTMLCatScrollableElement;
|
|
825
862
|
"cat-select": HTMLCatSelectElement;
|
|
826
863
|
"cat-skeleton": HTMLCatSkeletonElement;
|
|
@@ -1009,6 +1046,10 @@ declare namespace LocalJSX {
|
|
|
1009
1046
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
1010
1047
|
*/
|
|
1011
1048
|
"labelHidden"?: boolean;
|
|
1049
|
+
/**
|
|
1050
|
+
* Whether the label should appear to the left of the checkbox.
|
|
1051
|
+
*/
|
|
1052
|
+
"labelLeft"?: boolean;
|
|
1012
1053
|
/**
|
|
1013
1054
|
* The name of the input
|
|
1014
1055
|
*/
|
|
@@ -1187,6 +1228,10 @@ declare namespace LocalJSX {
|
|
|
1187
1228
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
1188
1229
|
*/
|
|
1189
1230
|
"labelHidden"?: boolean;
|
|
1231
|
+
/**
|
|
1232
|
+
* Whether the label should appear to the left of the radio component.
|
|
1233
|
+
*/
|
|
1234
|
+
"labelLeft"?: boolean;
|
|
1190
1235
|
/**
|
|
1191
1236
|
* The name of the radio component.
|
|
1192
1237
|
*/
|
|
@@ -1212,6 +1257,24 @@ declare namespace LocalJSX {
|
|
|
1212
1257
|
*/
|
|
1213
1258
|
"value"?: string;
|
|
1214
1259
|
}
|
|
1260
|
+
interface CatRadioGroup {
|
|
1261
|
+
/**
|
|
1262
|
+
* Adds an accessible label for the radio group that it is only shown in assistive technologies, like screen readers.
|
|
1263
|
+
*/
|
|
1264
|
+
"a11yLabel"?: string;
|
|
1265
|
+
/**
|
|
1266
|
+
* Whether this radio group is disabled.
|
|
1267
|
+
*/
|
|
1268
|
+
"disabled"?: boolean;
|
|
1269
|
+
/**
|
|
1270
|
+
* Whether the label of the radios should appear to the left of them.
|
|
1271
|
+
*/
|
|
1272
|
+
"labelLeft"?: boolean;
|
|
1273
|
+
/**
|
|
1274
|
+
* The name of the radio group component.
|
|
1275
|
+
*/
|
|
1276
|
+
"name"?: string;
|
|
1277
|
+
}
|
|
1215
1278
|
interface CatScrollable {
|
|
1216
1279
|
/**
|
|
1217
1280
|
* Flags to disable/enable overflowX.
|
|
@@ -1291,6 +1354,10 @@ declare namespace LocalJSX {
|
|
|
1291
1354
|
* Emitted when the value is changed.
|
|
1292
1355
|
*/
|
|
1293
1356
|
"onCatChange"?: (event: CatSelectCustomEvent<any>) => void;
|
|
1357
|
+
/**
|
|
1358
|
+
* Emitted when scrolled to the bottom.
|
|
1359
|
+
*/
|
|
1360
|
+
"onCatScrolledBottom"?: (event: CatSelectCustomEvent<any>) => void;
|
|
1294
1361
|
/**
|
|
1295
1362
|
* Emitted when the search is triggered.
|
|
1296
1363
|
*/
|
|
@@ -1469,6 +1536,10 @@ declare namespace LocalJSX {
|
|
|
1469
1536
|
* Visually hide the label, but still show it to assistive technologies like screen readers.
|
|
1470
1537
|
*/
|
|
1471
1538
|
"labelHidden"?: boolean;
|
|
1539
|
+
/**
|
|
1540
|
+
* Whether the label should appear to the left of the toggle.
|
|
1541
|
+
*/
|
|
1542
|
+
"labelLeft"?: boolean;
|
|
1472
1543
|
/**
|
|
1473
1544
|
* The name of the input
|
|
1474
1545
|
*/
|
|
@@ -1486,7 +1557,7 @@ declare namespace LocalJSX {
|
|
|
1486
1557
|
*/
|
|
1487
1558
|
"onCatFocus"?: (event: CatToggleCustomEvent<FocusEvent>) => void;
|
|
1488
1559
|
/**
|
|
1489
|
-
* Required state of the toggle
|
|
1560
|
+
* Required state of the toggle.
|
|
1490
1561
|
*/
|
|
1491
1562
|
"required"?: boolean;
|
|
1492
1563
|
/**
|
|
@@ -1532,6 +1603,7 @@ declare namespace LocalJSX {
|
|
|
1532
1603
|
"cat-menu": CatMenu;
|
|
1533
1604
|
"cat-modal": CatModal;
|
|
1534
1605
|
"cat-radio": CatRadio;
|
|
1606
|
+
"cat-radio-group": CatRadioGroup;
|
|
1535
1607
|
"cat-scrollable": CatScrollable;
|
|
1536
1608
|
"cat-select": CatSelect;
|
|
1537
1609
|
"cat-skeleton": CatSkeleton;
|
|
@@ -1559,6 +1631,7 @@ declare module "@stencil/core" {
|
|
|
1559
1631
|
"cat-menu": LocalJSX.CatMenu & JSXBase.HTMLAttributes<HTMLCatMenuElement>;
|
|
1560
1632
|
"cat-modal": LocalJSX.CatModal & JSXBase.HTMLAttributes<HTMLCatModalElement>;
|
|
1561
1633
|
"cat-radio": LocalJSX.CatRadio & JSXBase.HTMLAttributes<HTMLCatRadioElement>;
|
|
1634
|
+
"cat-radio-group": LocalJSX.CatRadioGroup & JSXBase.HTMLAttributes<HTMLCatRadioGroupElement>;
|
|
1562
1635
|
"cat-scrollable": LocalJSX.CatScrollable & JSXBase.HTMLAttributes<HTMLCatScrollableElement>;
|
|
1563
1636
|
"cat-select": LocalJSX.CatSelect & JSXBase.HTMLAttributes<HTMLCatSelectElement>;
|
|
1564
1637
|
"cat-skeleton": LocalJSX.CatSkeleton & JSXBase.HTMLAttributes<HTMLCatSkeletonElement>;
|
package/dist/types/index.d.ts
CHANGED
|
@@ -2,3 +2,4 @@ export { Components, JSX } from './components';
|
|
|
2
2
|
export { CatI18nRegistry } from './components/cat-i18n/cat-i18n-registry';
|
|
3
3
|
export { CatIconRegistry } from './components/cat-icon/cat-icon-registry';
|
|
4
4
|
export { NotificationsService } from './components/cat-notification/cat-notification';
|
|
5
|
+
export { Choice } from 'choices.js';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@haiilo/catalyst",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.10.2",
|
|
4
4
|
"description": "Catalyst Design System",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
},
|
|
44
44
|
"dependencies": {
|
|
45
45
|
"@floating-ui/dom": "0.4.1",
|
|
46
|
-
"@haiilo/catalyst-tokens": "0.
|
|
46
|
+
"@haiilo/catalyst-tokens": "0.10.2",
|
|
47
47
|
"@stencil/core": "2.17.0",
|
|
48
48
|
"autosize": "5.0.1",
|
|
49
49
|
"choices.js": "10.1.0",
|