@skf-design-system/ui-components 1.0.2-beta.12 → 1.0.2-beta.14

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.
@@ -11,9 +11,9 @@ import type { SkfCard } from "../../components/card/card.component.js";
11
11
  import type { SkfCheckbox } from "../../components/checkbox/checkbox.component.js";
12
12
  import type { SkfDatepickerCalendar } from "../../components/datepicker-calendar/datepicker-calendar.component.js";
13
13
  import type { SkfDatepicker } from "../../components/datepicker/datepicker.component.js";
14
+ import type { SkfDivider } from "../../components/divider/divider.component.js";
14
15
  import type { SkfHeading } from "../../components/heading/heading.component.js";
15
16
  import type { SkfDialog } from "../../components/dialog/dialog.component.js";
16
- import type { SkfDivider } from "../../components/divider/divider.component.js";
17
17
  import type { SkfDrawer } from "../../components/drawer/drawer.component.js";
18
18
  import type { SkfLogo } from "../../components/logo/logo.component.js";
19
19
  import type { SkfLink } from "../../components/link/link.component.js";
@@ -509,6 +509,18 @@ export type SkfDatepickerProps = {
509
509
  }
510
510
 
511
511
 
512
+ export type SkfDividerProps = {
513
+ /** Defines the Divider color */
514
+ "color"?: SkfDivider['color'];
515
+ /** If true, renders a div for presentational purpose instead of the semantic hr-element */
516
+ "decorative"?: SkfDivider['decorative'];
517
+ /** If true, renders the divider vertically */
518
+ "vertical"?: SkfDivider['vertical'];
519
+
520
+
521
+ }
522
+
523
+
512
524
  export type SkfHeadingProps = {
513
525
  /** Controls which heading element will be rendered. Should not be used to affect appearance */
514
526
  "as"?: SkfHeading['as'];
@@ -548,18 +560,6 @@ export type SkfDialogProps = {
548
560
  }
549
561
 
550
562
 
551
- export type SkfDividerProps = {
552
- /** Defines the Divider color */
553
- "color"?: SkfDivider['color'];
554
- /** If true, renders a div for presentational purpose instead of the semantic hr-element */
555
- "decorative"?: SkfDivider['decorative'];
556
- /** If true, renders the divider vertically */
557
- "vertical"?: SkfDivider['vertical'];
558
-
559
-
560
- }
561
-
562
-
563
563
  export type SkfDrawerProps = {
564
564
  /** Heading for the Drawer */
565
565
  "heading"?: SkfDrawer['heading'];
@@ -738,6 +738,8 @@ export type SkfInputProps = {
738
738
  "onchange"?: (e: CustomEvent<CustomEvent>) => void;
739
739
  /** Fires when the input is invalid */
740
740
  "oninvalid"?: (e: CustomEvent<CustomEvent>) => void;
741
+ /** Fires when the input is cleared */
742
+ "oncleared"?: (e: CustomEvent<CustomEvent>) => void;
741
743
  }
742
744
 
743
745
 
@@ -906,9 +908,9 @@ export type SkfTagProps = {
906
908
  /** If true, adds trailing button to remove tag */
907
909
  "removable"?: SkfTag['removable'];
908
910
  /** If defined, accepts a function that runs on click */
909
- "onClick"?: SkfTag['onClick'];
911
+ "clickCallback"?: SkfTag['clickCallback'];
910
912
  /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
911
- "onRemove"?: SkfTag['onRemove'];
913
+ "preRemoveCallback"?: SkfTag['preRemoveCallback'];
912
914
 
913
915
 
914
916
  }
@@ -1571,6 +1573,27 @@ export type SkfTooltipProps = {
1571
1573
  "skf-datepicker": Partial<SkfDatepickerProps & BaseProps<SkfDatepicker> & BaseEvents>;
1572
1574
 
1573
1575
 
1576
+ /**
1577
+ * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
1578
+ *
1579
+ * #### Attributes & Properties
1580
+ *
1581
+ * Component attributes and properties that can be applied to the element or by using JavaScript.
1582
+ *
1583
+ * - `color`: Defines the Divider color
1584
+ * - `decorative`: If true, renders a div for presentational purpose instead of the semantic hr-element
1585
+ * - `vertical`: If true, renders the divider vertically
1586
+ *
1587
+ * #### CSS Custom Properties
1588
+ *
1589
+ * CSS variables available for styling the component.
1590
+ *
1591
+ * - `--skf-divider-spacing`: The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical (default: `undefined`)
1592
+ * - `--skf-divider-inset`: The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical (default: `undefined`)
1593
+ */
1594
+ "skf-divider": Partial<SkfDividerProps & BaseProps<SkfDivider> & BaseEvents>;
1595
+
1596
+
1574
1597
  /**
1575
1598
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
1576
1599
  * It extends the interface of native html `<h1>` to `<h4>` elements.
@@ -1637,27 +1660,6 @@ export type SkfTooltipProps = {
1637
1660
  "skf-dialog": Partial<SkfDialogProps & BaseProps<SkfDialog> & BaseEvents>;
1638
1661
 
1639
1662
 
1640
- /**
1641
- * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
1642
- *
1643
- * #### Attributes & Properties
1644
- *
1645
- * Component attributes and properties that can be applied to the element or by using JavaScript.
1646
- *
1647
- * - `color`: Defines the Divider color
1648
- * - `decorative`: If true, renders a div for presentational purpose instead of the semantic hr-element
1649
- * - `vertical`: If true, renders the divider vertically
1650
- *
1651
- * #### CSS Custom Properties
1652
- *
1653
- * CSS variables available for styling the component.
1654
- *
1655
- * - `--skf-divider-spacing`: The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical (default: `undefined`)
1656
- * - `--skf-divider-inset`: The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical (default: `undefined`)
1657
- */
1658
- "skf-divider": Partial<SkfDividerProps & BaseProps<SkfDivider> & BaseEvents>;
1659
-
1660
-
1661
1663
  /**
1662
1664
  * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
1663
1665
  *
@@ -1860,6 +1862,7 @@ export type SkfTooltipProps = {
1860
1862
  *
1861
1863
  * - `change`: Fires when the value of the input changes
1862
1864
  * - `invalid`: Fires when the input is invalid
1865
+ * - `cleared`: Fires when the input is cleared
1863
1866
  *
1864
1867
  * #### Slots
1865
1868
  *
@@ -2109,8 +2112,8 @@ export type SkfTooltipProps = {
2109
2112
  * - `color`: If defined, gives the supplied appearance
2110
2113
  * - `lang`: Sets the internal language of the component
2111
2114
  * - `removable`: If true, adds trailing button to remove tag
2112
- * - `onClick`: If defined, accepts a function that runs on click (property only)
2113
- * - `onRemove`: If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. (property only)
2115
+ * - `clickCallback`: If defined, accepts a function that runs on click (property only)
2116
+ * - `preRemoveCallback`: If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. (property only)
2114
2117
  *
2115
2118
  * #### Slots
2116
2119
  *
@@ -12,9 +12,9 @@ import type { SkfCard } from "../../components/card/card.component.js";
12
12
  import type { SkfCheckbox, Event } from "../../components/checkbox/checkbox.component.js";
13
13
  import type { SkfDatepickerCalendar } from "../../components/datepicker-calendar/datepicker-calendar.component.js";
14
14
  import type { SkfDatepicker } from "../../components/datepicker/datepicker.component.js";
15
+ import type { SkfDivider } from "../../components/divider/divider.component.js";
15
16
  import type { SkfHeading } from "../../components/heading/heading.component.js";
16
17
  import type { SkfDialog, CustomEvent } from "../../components/dialog/dialog.component.js";
17
- import type { SkfDivider } from "../../components/divider/divider.component.js";
18
18
  import type { SkfDrawer, CustomEvent } from "../../components/drawer/drawer.component.js";
19
19
  import type { SkfLogo } from "../../components/logo/logo.component.js";
20
20
  import type { SkfLink, CustomEvent } from "../../components/link/link.component.js";
@@ -262,6 +262,15 @@ type SkfDatepickerProps = {
262
262
  focusTimeoutId?: SkfDatepicker["focusTimeoutId"];
263
263
  };
264
264
 
265
+ type SkfDividerProps = {
266
+ /** Defines the Divider color */
267
+ color?: SkfDivider["color"];
268
+ /** If true, renders a div for presentational purpose instead of the semantic hr-element */
269
+ decorative?: SkfDivider["decorative"];
270
+ /** If true, renders the divider vertically */
271
+ vertical?: SkfDivider["vertical"];
272
+ };
273
+
265
274
  type SkfHeadingProps = {
266
275
  /** Controls which heading element will be rendered. Should not be used to affect appearance */
267
276
  as?: SkfHeading["as"];
@@ -291,15 +300,6 @@ type SkfDialogProps = {
291
300
  "onskf-dialog-closed"?: (e: CustomEvent<CustomEvent>) => void;
292
301
  };
293
302
 
294
- type SkfDividerProps = {
295
- /** Defines the Divider color */
296
- color?: SkfDivider["color"];
297
- /** If true, renders a div for presentational purpose instead of the semantic hr-element */
298
- decorative?: SkfDivider["decorative"];
299
- /** If true, renders the divider vertically */
300
- vertical?: SkfDivider["vertical"];
301
- };
302
-
303
303
  type SkfDrawerProps = {
304
304
  /** Heading for the Drawer */
305
305
  heading?: SkfDrawer["heading"];
@@ -444,6 +444,8 @@ type SkfInputProps = {
444
444
  onchange?: (e: CustomEvent<CustomEvent>) => void;
445
445
  /** Fires when the input is invalid */
446
446
  oninvalid?: (e: CustomEvent<CustomEvent>) => void;
447
+ /** Fires when the input is cleared */
448
+ oncleared?: (e: CustomEvent<CustomEvent>) => void;
447
449
  };
448
450
 
449
451
  type SkfMenuItemProps = {
@@ -583,9 +585,9 @@ type SkfTagProps = {
583
585
  /** If true, adds trailing button to remove tag */
584
586
  removable?: SkfTag["removable"];
585
587
  /** If defined, accepts a function that runs on click */
586
- onClick?: SkfTag["onClick"];
588
+ clickCallback?: SkfTag["clickCallback"];
587
589
  /** If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`. */
588
- onRemove?: SkfTag["onRemove"];
590
+ preRemoveCallback?: SkfTag["preRemoveCallback"];
589
591
  };
590
592
 
591
593
  type SkfSelectProps = {
@@ -982,6 +984,17 @@ export type CustomElements = {
982
984
  */
983
985
  "skf-datepicker": DefineComponent<SkfDatepickerProps>;
984
986
 
987
+ /**
988
+ * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
989
+ * ---
990
+ *
991
+ *
992
+ * ### **CSS Properties:**
993
+ * - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_
994
+ * - **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_
995
+ */
996
+ "skf-divider": DefineComponent<SkfDividerProps>;
997
+
985
998
  /**
986
999
  * The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>
987
1000
  * It extends the interface of native html `<h1>` to `<h4>` elements.
@@ -1017,17 +1030,6 @@ export type CustomElements = {
1017
1030
  */
1018
1031
  "skf-dialog": DefineComponent<SkfDialogProps>;
1019
1032
 
1020
- /**
1021
- * The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information
1022
- * ---
1023
- *
1024
- *
1025
- * ### **CSS Properties:**
1026
- * - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_
1027
- * - **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_
1028
- */
1029
- "skf-divider": DefineComponent<SkfDividerProps>;
1030
-
1031
1033
  /**
1032
1034
  * The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge
1033
1035
  * ---
@@ -1107,6 +1109,7 @@ export type CustomElements = {
1107
1109
  * ### **Events:**
1108
1110
  * - **change** - Fires when the value of the input changes
1109
1111
  * - **invalid** - Fires when the input is invalid
1112
+ * - **cleared** - Fires when the input is cleared
1110
1113
  *
1111
1114
  * ### **Slots:**
1112
1115
  * - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.
@@ -451,6 +451,28 @@
451
451
  ],
452
452
  "references": []
453
453
  },
454
+ {
455
+ "name": "skf-divider",
456
+ "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
457
+ "attributes": [
458
+ {
459
+ "name": "color",
460
+ "description": "Defines the Divider color",
461
+ "values": [{ "name": "SkfDividerColor" }]
462
+ },
463
+ {
464
+ "name": "decorative",
465
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
466
+ "values": []
467
+ },
468
+ {
469
+ "name": "vertical",
470
+ "description": "If true, renders the divider vertically",
471
+ "values": []
472
+ }
473
+ ],
474
+ "references": []
475
+ },
454
476
  {
455
477
  "name": "skf-heading",
456
478
  "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
@@ -505,28 +527,6 @@
505
527
  ],
506
528
  "references": []
507
529
  },
508
- {
509
- "name": "skf-divider",
510
- "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
511
- "attributes": [
512
- {
513
- "name": "color",
514
- "description": "Defines the Divider color",
515
- "values": [{ "name": "SkfDividerColor" }]
516
- },
517
- {
518
- "name": "decorative",
519
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
520
- "values": []
521
- },
522
- {
523
- "name": "vertical",
524
- "description": "If true, renders the divider vertically",
525
- "values": []
526
- }
527
- ],
528
- "references": []
529
- },
530
530
  {
531
531
  "name": "skf-drawer",
532
532
  "description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
@@ -698,7 +698,7 @@
698
698
  },
699
699
  {
700
700
  "name": "skf-input",
701
- "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
701
+ "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n- **cleared** - Fires when the input is cleared\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
702
702
  "attributes": [
703
703
  {
704
704
  "name": "disabled",
@@ -985,6 +985,49 @@
985
985
  "events": []
986
986
  }
987
987
  },
988
+ {
989
+ "name": "skf-divider",
990
+ "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
991
+ "doc-url": "",
992
+ "attributes": [
993
+ {
994
+ "name": "color",
995
+ "description": "Defines the Divider color",
996
+ "value": { "type": "SkfDividerColor", "default": "'primary'" }
997
+ },
998
+ {
999
+ "name": "decorative",
1000
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1001
+ "value": { "type": "boolean", "default": "false" }
1002
+ },
1003
+ {
1004
+ "name": "vertical",
1005
+ "description": "If true, renders the divider vertically",
1006
+ "value": { "type": "boolean", "default": "false" }
1007
+ }
1008
+ ],
1009
+ "events": [],
1010
+ "js": {
1011
+ "properties": [
1012
+ {
1013
+ "name": "color",
1014
+ "description": "Defines the Divider color",
1015
+ "type": "SkfDividerColor"
1016
+ },
1017
+ {
1018
+ "name": "decorative",
1019
+ "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1020
+ "type": "boolean"
1021
+ },
1022
+ {
1023
+ "name": "vertical",
1024
+ "description": "If true, renders the divider vertically",
1025
+ "type": "boolean"
1026
+ }
1027
+ ],
1028
+ "events": []
1029
+ }
1030
+ },
988
1031
  {
989
1032
  "name": "skf-heading",
990
1033
  "description": "The `<Heading>` component is to deliniate content on a page. When using, take note not to skip heading levels.<br>\nIt extends the interface of native html `<h1>` to `<h4>` elements.\n---\n\n\n### **Slots:**\n - _default_ - The headings content",
@@ -1131,49 +1174,6 @@
1131
1174
  ]
1132
1175
  }
1133
1176
  },
1134
- {
1135
- "name": "skf-divider",
1136
- "description": "The `<Divider>` component can separate items from each other, to visually emphasize their lack of a relationship between groups of information\n---\n\n\n### **CSS Properties:**\n - **--skf-divider-spacing** - The amount of space the divider occupies. Pass valid CSS **margin-block** values when horizontal and **margin-inline** when vertical _(default: undefined)_\n- **--skf-divider-inset** - The amount of space the divider should be indented. Pass valid CSS **margin-inline** values when horizontal and **margin-block** when vertical _(default: undefined)_",
1137
- "doc-url": "",
1138
- "attributes": [
1139
- {
1140
- "name": "color",
1141
- "description": "Defines the Divider color",
1142
- "value": { "type": "SkfDividerColor", "default": "'primary'" }
1143
- },
1144
- {
1145
- "name": "decorative",
1146
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1147
- "value": { "type": "boolean", "default": "false" }
1148
- },
1149
- {
1150
- "name": "vertical",
1151
- "description": "If true, renders the divider vertically",
1152
- "value": { "type": "boolean", "default": "false" }
1153
- }
1154
- ],
1155
- "events": [],
1156
- "js": {
1157
- "properties": [
1158
- {
1159
- "name": "color",
1160
- "description": "Defines the Divider color",
1161
- "type": "SkfDividerColor"
1162
- },
1163
- {
1164
- "name": "decorative",
1165
- "description": "If true, renders a div for presentational purpose instead of the semantic hr-element",
1166
- "type": "boolean"
1167
- },
1168
- {
1169
- "name": "vertical",
1170
- "description": "If true, renders the divider vertically",
1171
- "type": "boolean"
1172
- }
1173
- ],
1174
- "events": []
1175
- }
1176
- },
1177
1177
  {
1178
1178
  "name": "skf-drawer",
1179
1179
  "description": "The `<skf-drawer>` is a modal component that displays content and toggle by sliding from left/right viewport edge\n---\n\n\n### **Events:**\n - **skf-drawer-opened** - Fires when the drawer is opened (after transitioned in)\n- **skf-drawer-closing** - Fires when the drawer is closing (before transitioned out)\n- **skf-drawer-closed** - Fires when the drawer is closed (after transitioned out)\n\n### **Slots:**\n - _default_ - The Drawer's main content",
@@ -1553,7 +1553,7 @@
1553
1553
  },
1554
1554
  {
1555
1555
  "name": "skf-input",
1556
- "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
1556
+ "description": "The skf-text-field is used to create a text input field. It can be used inside a form element or standalone\n\nSee [zeroheight](https://zeroheight.com/853e936c9/p/9481fa-input-field) for design principles\n---\n\n\n### **Events:**\n - **change** - Fires when the value of the input changes\n- **invalid** - Fires when the input is invalid\n- **cleared** - Fires when the input is cleared\n\n### **Slots:**\n - _default_ - The Inputs label. Alternatively, you can use the `label` attribute.",
1557
1557
  "doc-url": "",
1558
1558
  "attributes": [
1559
1559
  {
@@ -1718,6 +1718,11 @@
1718
1718
  "name": "invalid",
1719
1719
  "type": "CustomEvent",
1720
1720
  "description": "Fires when the input is invalid"
1721
+ },
1722
+ {
1723
+ "name": "cleared",
1724
+ "type": "CustomEvent",
1725
+ "description": "Fires when the input is cleared"
1721
1726
  }
1722
1727
  ],
1723
1728
  "js": {
@@ -1852,6 +1857,11 @@
1852
1857
  "name": "invalid",
1853
1858
  "type": "CustomEvent",
1854
1859
  "description": "Fires when the input is invalid"
1860
+ },
1861
+ {
1862
+ "name": "cleared",
1863
+ "type": "CustomEvent",
1864
+ "description": "Fires when the input is cleared"
1855
1865
  }
1856
1866
  ]
1857
1867
  }
@@ -2483,11 +2493,11 @@
2483
2493
  "type": "Language"
2484
2494
  },
2485
2495
  {
2486
- "name": "onClick",
2496
+ "name": "clickCallback",
2487
2497
  "description": "If defined, accepts a function that runs on click"
2488
2498
  },
2489
2499
  {
2490
- "name": "onRemove",
2500
+ "name": "preRemoveCallback",
2491
2501
  "description": "If defined, accepts a function that runs on click. Self removal can be overridden by using `event.stopPropagation()`."
2492
2502
  },
2493
2503
  {
package/package.json CHANGED
@@ -35,7 +35,7 @@
35
35
  "sideEffects": true,
36
36
  "type": "module",
37
37
  "types": "./dist/index.d.ts",
38
- "version": "1.0.2-beta.12",
38
+ "version": "1.0.2-beta.14",
39
39
  "dependencies": {
40
40
  "@floating-ui/dom": "^1.7.1",
41
41
  "@js-temporal/polyfill": "^0.5.1",