@universal-material/web 3.0.27 → 3.0.28

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.
@@ -5,7 +5,7 @@ export declare class UmButtonSet extends LitElement {
5
5
  /**
6
6
  * Set the alignment of the buttons at the `start`, `center` or at the `end`.
7
7
  */
8
- align: UmButtonSetAlignment;
8
+ alignment: UmButtonSetAlignment;
9
9
  /**
10
10
  * Whether to render the buttons stacked or not
11
11
  */
@@ -1 +1 @@
1
- {"version":3,"file":"button-set.d.ts","sourceRoot":"","sources":["../../src/button/button-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAK3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9D,qBACa,WAAY,SAAQ,UAAU;IAEzC,OAAgB,MAAM,0BAAU;IAEhC;;OAEG;IACwB,KAAK,EAAE,oBAAoB,CAAS;IAE/D;;OAEG;IACuC,KAAK,UAAS;IAE/C,MAAM,IAAI,kBAAkB;CAItC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
1
+ {"version":3,"file":"button-set.d.ts","sourceRoot":"","sources":["../../src/button/button-set.ts"],"names":[],"mappings":"AAAA,OAAO,EAAQ,kBAAkB,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAK3D,MAAM,MAAM,oBAAoB,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AAE9D,qBACa,WAAY,SAAQ,UAAU;IAEzC,OAAgB,MAAM,0BAAU;IAEhC;;OAEG;IACwB,SAAS,EAAE,oBAAoB,CAAS;IAEnE;;OAEG;IACuC,KAAK,UAAS;IAE/C,MAAM,IAAI,kBAAkB;CAItC;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,WAAW,CAAC;KAC7B;CACF"}
@@ -13,7 +13,7 @@ let UmButtonSet = class UmButtonSet extends LitElement {
13
13
  /**
14
14
  * Set the alignment of the buttons at the `start`, `center` or at the `end`.
15
15
  */
16
- this.align = 'end';
16
+ this.alignment = 'end';
17
17
  /**
18
18
  * Whether to render the buttons stacked or not
19
19
  */
@@ -27,7 +27,7 @@ let UmButtonSet = class UmButtonSet extends LitElement {
27
27
  UmButtonSet.styles = styles;
28
28
  __decorate([
29
29
  property({ reflect: true })
30
- ], UmButtonSet.prototype, "align", void 0);
30
+ ], UmButtonSet.prototype, "alignment", void 0);
31
31
  __decorate([
32
32
  property({ type: Boolean, reflect: true })
33
33
  ], UmButtonSet.prototype, "stack", void 0);
@@ -1 +1 @@
1
- {"version":3,"file":"button-set.js","sourceRoot":"","sources":["../../src/button/button-set.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAsB,UAAU,EAAE,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAKzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QAIL;;WAEG;QACwB,UAAK,GAAyB,KAAK,CAAC;QAE/D;;WAEG;QACuC,UAAK,GAAG,KAAK,CAAC;IAM1D,CAAC;IAJU,MAAM;QACb,OAAO,IAAI,CAAA;oBACK,CAAC;IACnB,CAAC;;AAfe,kBAAM,GAAG,MAAM,AAAT,CAAU;AAKL;IAA1B,QAAQ,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;0CAAqC;AAKrB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;0CAAe;AAZ7C,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAkBvB","sourcesContent":["import { html, HTMLTemplateResult, LitElement } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\n\nimport { styles } from './button-set.styles.js';\n\nexport type UmButtonSetAlignment = 'start' | 'center' | 'end';\n\n@customElement('u-button-set')\nexport class UmButtonSet extends LitElement {\n\n static override styles = styles;\n\n /**\n * Set the alignment of the buttons at the `start`, `center` or at the `end`.\n */\n @property({reflect: true}) align: UmButtonSetAlignment = 'end';\n\n /**\n * Whether to render the buttons stacked or not\n */\n @property({type: Boolean, reflect: true}) stack = false;\n\n override render(): HTMLTemplateResult {\n return html`\n <slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'u-button-set': UmButtonSet;\n }\n}\n"]}
1
+ {"version":3,"file":"button-set.js","sourceRoot":"","sources":["../../src/button/button-set.ts"],"names":[],"mappings":";;;;;;AAAA,OAAO,EAAE,IAAI,EAAsB,UAAU,EAAE,MAAM,KAAK,CAAC;AAC3D,OAAO,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAE5D,OAAO,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAKzC,IAAM,WAAW,GAAjB,MAAM,WAAY,SAAQ,UAAU;IAApC;;QAIL;;WAEG;QACwB,cAAS,GAAyB,KAAK,CAAC;QAEnE;;WAEG;QACuC,UAAK,GAAG,KAAK,CAAC;IAM1D,CAAC;IAJU,MAAM;QACb,OAAO,IAAI,CAAA;oBACK,CAAC;IACnB,CAAC;;AAfe,kBAAM,GAAG,MAAM,AAAT,CAAU;AAKL;IAA1B,QAAQ,CAAC,EAAC,OAAO,EAAE,IAAI,EAAC,CAAC;8CAAyC;AAKzB;IAAzC,QAAQ,CAAC,EAAC,IAAI,EAAE,OAAO,EAAE,OAAO,EAAE,IAAI,EAAC,CAAC;0CAAe;AAZ7C,WAAW;IADvB,aAAa,CAAC,cAAc,CAAC;GACjB,WAAW,CAkBvB","sourcesContent":["import { html, HTMLTemplateResult, LitElement } from 'lit';\nimport { customElement, property } from 'lit/decorators.js';\n\nimport { styles } from './button-set.styles.js';\n\nexport type UmButtonSetAlignment = 'start' | 'center' | 'end';\n\n@customElement('u-button-set')\nexport class UmButtonSet extends LitElement {\n\n static override styles = styles;\n\n /**\n * Set the alignment of the buttons at the `start`, `center` or at the `end`.\n */\n @property({reflect: true}) alignment: UmButtonSetAlignment = 'end';\n\n /**\n * Whether to render the buttons stacked or not\n */\n @property({type: Boolean, reflect: true}) stack = false;\n\n override render(): HTMLTemplateResult {\n return html`\n <slot></slot>`;\n }\n}\n\ndeclare global {\n interface HTMLElementTagNameMap {\n 'u-button-set': UmButtonSet;\n }\n}\n"]}
@@ -7,27 +7,27 @@ export const styles = css `
7
7
  flex-wrap: nowrap;
8
8
  }
9
9
 
10
- :host([align=start]) {
10
+ :host([alignment=start]) {
11
11
  justify-content: flex-start;
12
12
  }
13
13
 
14
- :host([align=center]) {
14
+ :host([alignment=center]) {
15
15
  justify-content: center;
16
16
  }
17
17
 
18
- :host([align=end]) {
18
+ :host([alignment=end]) {
19
19
  justify-content: flex-end;
20
20
  }
21
21
 
22
- :host([stack][align=start]) {
22
+ :host([stack][alignment=start]) {
23
23
  align-items: flex-start;
24
24
  }
25
25
 
26
- :host([stack][align=center]) {
26
+ :host([stack][alignment=center]) {
27
27
  align-items: center;
28
28
  }
29
29
 
30
- :host([stack][align=end]) {
30
+ :host([stack][alignment=end]) {
31
31
  align-items: flex-end;
32
32
  }
33
33
 
@@ -1 +1 @@
1
- {"version":3,"file":"button-set.styles.js","sourceRoot":"","sources":["../../src/button/button-set.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([align=start]) {\n justify-content: flex-start;\n }\n\n :host([align=center]) {\n justify-content: center;\n }\n\n :host([align=end]) {\n justify-content: flex-end;\n }\n\n :host([stack][align=start]) {\n align-items: flex-start;\n }\n\n :host([stack][align=center]) {\n align-items: center;\n }\n\n :host([stack][align=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`;\n"]}
1
+ {"version":3,"file":"button-set.styles.js","sourceRoot":"","sources":["../../src/button/button-set.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,KAAK,CAAC;AAE1B,MAAM,CAAC,MAAM,MAAM,GAAG,GAAG,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAoCzB,CAAC","sourcesContent":["import { css } from 'lit';\n\nexport const styles = css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`;\n"]}
@@ -824,7 +824,7 @@
824
824
  {
825
825
  "kind": "variable",
826
826
  "name": "styles",
827
- "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([align=start]) {\n justify-content: flex-start;\n }\n\n :host([align=center]) {\n justify-content: center;\n }\n\n :host([align=end]) {\n justify-content: flex-end;\n }\n\n :host([stack][align=start]) {\n align-items: flex-start;\n }\n\n :host([stack][align=center]) {\n align-items: center;\n }\n\n :host([stack][align=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
827
+ "default": "css `\n :host {\n display: flex;\n gap: 8px;\n align-items: center;\n flex-wrap: nowrap;\n }\n\n :host([alignment=start]) {\n justify-content: flex-start;\n }\n\n :host([alignment=center]) {\n justify-content: center;\n }\n\n :host([alignment=end]) {\n justify-content: flex-end;\n }\n\n :host([stack][alignment=start]) {\n align-items: flex-start;\n }\n\n :host([stack][alignment=center]) {\n align-items: center;\n }\n\n :host([stack][alignment=end]) {\n align-items: flex-end;\n }\n\n :host([stack]) {\n flex-direction: column;\n justify-content: flex-start;\n }\n`"
828
828
  }
829
829
  ],
830
830
  "exports": [
@@ -849,13 +849,13 @@
849
849
  "members": [
850
850
  {
851
851
  "kind": "field",
852
- "name": "align",
852
+ "name": "alignment",
853
853
  "type": {
854
854
  "text": "UmButtonSetAlignment"
855
855
  },
856
856
  "default": "'end'",
857
857
  "description": "Set the alignment of the buttons at the `start`, `center` or at the `end`.",
858
- "attribute": "align",
858
+ "attribute": "alignment",
859
859
  "reflects": true
860
860
  },
861
861
  {
@@ -872,13 +872,13 @@
872
872
  ],
873
873
  "attributes": [
874
874
  {
875
- "name": "align",
875
+ "name": "alignment",
876
876
  "type": {
877
877
  "text": "UmButtonSetAlignment"
878
878
  },
879
879
  "default": "'end'",
880
880
  "description": "Set the alignment of the buttons at the `start`, `center` or at the `end`.",
881
- "fieldName": "align"
881
+ "fieldName": "alignment"
882
882
  },
883
883
  {
884
884
  "name": "stack",
@@ -2460,6 +2460,82 @@
2460
2460
  }
2461
2461
  ]
2462
2462
  },
2463
+ {
2464
+ "kind": "javascript-module",
2465
+ "path": "src/checkbox/checkbox.ts",
2466
+ "declarations": [
2467
+ {
2468
+ "kind": "class",
2469
+ "description": "",
2470
+ "name": "UmCheckbox",
2471
+ "members": [
2472
+ {
2473
+ "kind": "field",
2474
+ "name": "ripple",
2475
+ "type": {
2476
+ "text": "UmRipple"
2477
+ },
2478
+ "privacy": "private"
2479
+ },
2480
+ {
2481
+ "kind": "field",
2482
+ "name": "assignedInputs",
2483
+ "type": {
2484
+ "text": "HTMLInputElement[]"
2485
+ },
2486
+ "privacy": "private"
2487
+ },
2488
+ {
2489
+ "kind": "field",
2490
+ "name": "input",
2491
+ "type": {
2492
+ "text": "HTMLInputElement | undefined"
2493
+ },
2494
+ "privacy": "private"
2495
+ },
2496
+ {
2497
+ "kind": "method",
2498
+ "name": "handleSlotChange",
2499
+ "privacy": "private",
2500
+ "return": {
2501
+ "type": {
2502
+ "text": "void"
2503
+ }
2504
+ }
2505
+ },
2506
+ {
2507
+ "kind": "field",
2508
+ "name": "handleInputChange",
2509
+ "privacy": "private"
2510
+ }
2511
+ ],
2512
+ "superclass": {
2513
+ "name": "LitElement",
2514
+ "package": "lit"
2515
+ },
2516
+ "tagName": "u-checkbox",
2517
+ "customElement": true
2518
+ }
2519
+ ],
2520
+ "exports": [
2521
+ {
2522
+ "kind": "js",
2523
+ "name": "UmCheckbox",
2524
+ "declaration": {
2525
+ "name": "UmCheckbox",
2526
+ "module": "src/checkbox/checkbox.ts"
2527
+ }
2528
+ },
2529
+ {
2530
+ "kind": "custom-element-definition",
2531
+ "name": "u-checkbox",
2532
+ "declaration": {
2533
+ "name": "UmCheckbox",
2534
+ "module": "src/checkbox/checkbox.ts"
2535
+ }
2536
+ }
2537
+ ]
2538
+ },
2463
2539
  {
2464
2540
  "kind": "javascript-module",
2465
2541
  "path": "src/card/card-content.styles.ts",
@@ -2709,82 +2785,6 @@
2709
2785
  }
2710
2786
  ]
2711
2787
  },
2712
- {
2713
- "kind": "javascript-module",
2714
- "path": "src/checkbox/checkbox.ts",
2715
- "declarations": [
2716
- {
2717
- "kind": "class",
2718
- "description": "",
2719
- "name": "UmCheckbox",
2720
- "members": [
2721
- {
2722
- "kind": "field",
2723
- "name": "ripple",
2724
- "type": {
2725
- "text": "UmRipple"
2726
- },
2727
- "privacy": "private"
2728
- },
2729
- {
2730
- "kind": "field",
2731
- "name": "assignedInputs",
2732
- "type": {
2733
- "text": "HTMLInputElement[]"
2734
- },
2735
- "privacy": "private"
2736
- },
2737
- {
2738
- "kind": "field",
2739
- "name": "input",
2740
- "type": {
2741
- "text": "HTMLInputElement | undefined"
2742
- },
2743
- "privacy": "private"
2744
- },
2745
- {
2746
- "kind": "method",
2747
- "name": "handleSlotChange",
2748
- "privacy": "private",
2749
- "return": {
2750
- "type": {
2751
- "text": "void"
2752
- }
2753
- }
2754
- },
2755
- {
2756
- "kind": "field",
2757
- "name": "handleInputChange",
2758
- "privacy": "private"
2759
- }
2760
- ],
2761
- "superclass": {
2762
- "name": "LitElement",
2763
- "package": "lit"
2764
- },
2765
- "tagName": "u-checkbox",
2766
- "customElement": true
2767
- }
2768
- ],
2769
- "exports": [
2770
- {
2771
- "kind": "js",
2772
- "name": "UmCheckbox",
2773
- "declaration": {
2774
- "name": "UmCheckbox",
2775
- "module": "src/checkbox/checkbox.ts"
2776
- }
2777
- },
2778
- {
2779
- "kind": "custom-element-definition",
2780
- "name": "u-checkbox",
2781
- "declaration": {
2782
- "name": "UmCheckbox",
2783
- "module": "src/checkbox/checkbox.ts"
2784
- }
2785
- }
2786
- ]
2787
- },
2788
2788
  {
2789
2789
  "kind": "javascript-module",
2790
2790
  "path": "src/container/container.styles.ts",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@universal-material/web",
3
- "version": "3.0.27",
3
+ "version": "3.0.28",
4
4
  "description": "Material web components",
5
5
  "type": "module",
6
6
  "keywords": [