@warp-ds/elements 2.8.2-next.6 → 2.9.0-next.1

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.
@@ -591,7 +591,7 @@
591
591
  "attribute": "variant",
592
592
  "reflects": true,
593
593
  "parsedType": {
594
- "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
594
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
595
595
  }
596
596
  },
597
597
  {
@@ -601,9 +601,20 @@
601
601
  "text": "boolean"
602
602
  },
603
603
  "default": "false",
604
+ "deprecated": "Use `variant=\"quiet\"` instead",
604
605
  "attribute": "quiet",
605
606
  "reflects": true
606
607
  },
608
+ {
609
+ "kind": "field",
610
+ "name": "iconOnly",
611
+ "type": {
612
+ "text": "boolean"
613
+ },
614
+ "default": "false",
615
+ "attribute": "icon-only",
616
+ "reflects": true
617
+ },
607
618
  {
608
619
  "kind": "field",
609
620
  "name": "small",
@@ -642,6 +653,16 @@
642
653
  "attribute": "target",
643
654
  "reflects": true
644
655
  },
656
+ {
657
+ "kind": "field",
658
+ "name": "disabled",
659
+ "type": {
660
+ "text": "boolean"
661
+ },
662
+ "default": "false",
663
+ "attribute": "disabled",
664
+ "reflects": true
665
+ },
645
666
  {
646
667
  "kind": "field",
647
668
  "name": "rel",
@@ -667,6 +688,7 @@
667
688
  "type": {
668
689
  "text": "string"
669
690
  },
691
+ "deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
670
692
  "attribute": "button-class",
671
693
  "reflects": true
672
694
  },
@@ -740,7 +762,7 @@
740
762
  },
741
763
  "fieldName": "variant",
742
764
  "parsedType": {
743
- "text": "'negative' | 'primary' | 'secondary' | 'utility' | 'pill' | 'link'"
765
+ "text": "'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'"
744
766
  }
745
767
  },
746
768
  {
@@ -749,8 +771,17 @@
749
771
  "text": "boolean"
750
772
  },
751
773
  "default": "false",
774
+ "deprecated": "Use `variant=\"quiet\"` instead",
752
775
  "fieldName": "quiet"
753
776
  },
777
+ {
778
+ "name": "icon-only",
779
+ "type": {
780
+ "text": "boolean"
781
+ },
782
+ "default": "false",
783
+ "fieldName": "iconOnly"
784
+ },
754
785
  {
755
786
  "name": "small",
756
787
  "type": {
@@ -781,6 +812,14 @@
781
812
  },
782
813
  "fieldName": "target"
783
814
  },
815
+ {
816
+ "name": "disabled",
817
+ "type": {
818
+ "text": "boolean"
819
+ },
820
+ "default": "false",
821
+ "fieldName": "disabled"
822
+ },
784
823
  {
785
824
  "name": "rel",
786
825
  "type": {
@@ -801,6 +840,7 @@
801
840
  "type": {
802
841
  "text": "string"
803
842
  },
843
+ "deprecated": "This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.",
804
844
  "fieldName": "buttonClass"
805
845
  },
806
846
  {
@@ -6462,6 +6502,12 @@
6462
6502
  }
6463
6503
  ],
6464
6504
  "events": [
6505
+ {
6506
+ "name": "thumbreset",
6507
+ "type": {
6508
+ "text": "CustomEvent"
6509
+ }
6510
+ },
6465
6511
  {
6466
6512
  "name": "slidervalidity",
6467
6513
  "type": {
@@ -6783,6 +6829,19 @@
6783
6829
  "name": "edgeMax",
6784
6830
  "readonly": true
6785
6831
  },
6832
+ {
6833
+ "kind": "method",
6834
+ "name": "#onThumbReset",
6835
+ "privacy": "private",
6836
+ "parameters": [
6837
+ {
6838
+ "name": "e",
6839
+ "type": {
6840
+ "text": "CustomEvent"
6841
+ }
6842
+ }
6843
+ ]
6844
+ },
6786
6845
  {
6787
6846
  "kind": "method",
6788
6847
  "name": "#onInput",
package/dist/index.d.ts CHANGED
@@ -245,9 +245,13 @@ export type WarpButtonProps = {
245
245
  autofocus?: WarpButton["autofocus"];
246
246
  /** */
247
247
  variant?: WarpButton["variant"];
248
- /** */
248
+ /** @deprecated Use `variant="quiet"` instead */
249
249
  quiet?: WarpButton["quiet"];
250
250
  /** */
251
+ "icon-only"?: WarpButton["iconOnly"];
252
+ /** */
253
+ iconOnly?: WarpButton["iconOnly"];
254
+ /** */
251
255
  small?: WarpButton["small"];
252
256
  /** */
253
257
  loading?: WarpButton["loading"];
@@ -256,14 +260,16 @@ export type WarpButtonProps = {
256
260
  /** */
257
261
  target?: WarpButton["target"];
258
262
  /** */
263
+ disabled?: WarpButton["disabled"];
264
+ /** */
259
265
  rel?: WarpButton["rel"];
260
266
  /** */
261
267
  "full-width"?: WarpButton["fullWidth"];
262
268
  /** */
263
269
  fullWidth?: WarpButton["fullWidth"];
264
- /** */
270
+ /** @deprecated This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button. */
265
271
  "button-class"?: WarpButton["buttonClass"];
266
- /** */
272
+ /** @deprecated This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button. */
267
273
  buttonClass?: WarpButton["buttonClass"];
268
274
  /** */
269
275
  name?: WarpButton["name"];
@@ -280,9 +286,13 @@ export type WarpButtonSolidJsProps = {
280
286
  "prop:autofocus"?: WarpButton["autofocus"];
281
287
  /** */
282
288
  "prop:variant"?: WarpButton["variant"];
283
- /** */
289
+ /** @deprecated Use `variant="quiet"` instead */
284
290
  "prop:quiet"?: WarpButton["quiet"];
285
291
  /** */
292
+ "bool:icon-only"?: WarpButton["iconOnly"];
293
+ /** */
294
+ "prop:iconOnly"?: WarpButton["iconOnly"];
295
+ /** */
286
296
  "prop:small"?: WarpButton["small"];
287
297
  /** */
288
298
  "prop:loading"?: WarpButton["loading"];
@@ -291,14 +301,16 @@ export type WarpButtonSolidJsProps = {
291
301
  /** */
292
302
  "prop:target"?: WarpButton["target"];
293
303
  /** */
304
+ "prop:disabled"?: WarpButton["disabled"];
305
+ /** */
294
306
  "prop:rel"?: WarpButton["rel"];
295
307
  /** */
296
308
  "bool:full-width"?: WarpButton["fullWidth"];
297
309
  /** */
298
310
  "prop:fullWidth"?: WarpButton["fullWidth"];
299
- /** */
311
+ /** @deprecated This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button. */
300
312
  "attr:button-class"?: WarpButton["buttonClass"];
301
- /** */
313
+ /** @deprecated This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button. */
302
314
  "prop:buttonClass"?: WarpButton["buttonClass"];
303
315
  /** */
304
316
  "prop:name"?: WarpButton["name"];
@@ -1427,6 +1439,8 @@ export type WarpSliderThumbProps = {
1427
1439
  /** */
1428
1440
  textfield?: WarpSliderThumb["textfield"];
1429
1441
 
1442
+ /** */
1443
+ onthumbreset?: (e: CustomEvent) => void;
1430
1444
  /** */
1431
1445
  onslidervalidity?: (e: CustomEvent) => void;
1432
1446
  };
@@ -1453,6 +1467,8 @@ export type WarpSliderThumbSolidJsProps = {
1453
1467
  /** */
1454
1468
  "prop:textfield"?: WarpSliderThumb["textfield"];
1455
1469
  /** */
1470
+ "on:thumbreset"?: (e: CustomEvent) => void;
1471
+ /** */
1456
1472
  "on:slidervalidity"?: (e: CustomEvent) => void;
1457
1473
 
1458
1474
  /** Set the innerHTML of the element */
@@ -1902,10 +1918,12 @@ export type CustomElements = {
1902
1918
  * - `autofocus`: undefined
1903
1919
  * - `variant`: undefined
1904
1920
  * - `quiet`: undefined
1921
+ * - `icon-only`/`iconOnly`: undefined
1905
1922
  * - `small`: undefined
1906
1923
  * - `loading`: undefined
1907
1924
  * - `href`: undefined
1908
1925
  * - `target`: undefined
1926
+ * - `disabled`: undefined
1909
1927
  * - `rel`: undefined
1910
1928
  * - `full-width`/`fullWidth`: undefined
1911
1929
  * - `button-class`/`buttonClass`: undefined
@@ -2555,6 +2573,7 @@ export type CustomElements = {
2555
2573
  *
2556
2574
  * Events that will be emitted by the component.
2557
2575
  *
2576
+ * - `thumbreset`: undefined
2558
2577
  * - `slidervalidity`: undefined
2559
2578
  *
2560
2579
  * ## Methods
@@ -2891,10 +2910,12 @@ export type CustomElementsSolidJs = {
2891
2910
  * - `autofocus`: undefined
2892
2911
  * - `variant`: undefined
2893
2912
  * - `quiet`: undefined
2913
+ * - `icon-only`/`iconOnly`: undefined
2894
2914
  * - `small`: undefined
2895
2915
  * - `loading`: undefined
2896
2916
  * - `href`: undefined
2897
2917
  * - `target`: undefined
2918
+ * - `disabled`: undefined
2898
2919
  * - `rel`: undefined
2899
2920
  * - `full-width`/`fullWidth`: undefined
2900
2921
  * - `button-class`/`buttonClass`: undefined
@@ -3604,6 +3625,7 @@ export type CustomElementsSolidJs = {
3604
3625
  *
3605
3626
  * Events that will be emitted by the component.
3606
3627
  *
3628
+ * - `thumbreset`: undefined
3607
3629
  * - `slidervalidity`: undefined
3608
3630
  *
3609
3631
  * ## Methods