@justeattakeaway/pie-select 0.8.31 → 0.8.32

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.
@@ -34,7 +34,7 @@
34
34
  "type": {
35
35
  "text": "DefaultProps"
36
36
  },
37
- "default": "{\n size: 'medium',\n status: 'default',\n disabled: false,\n options: [],\n value: '',\n}"
37
+ "default": "{ size: 'medium', status: 'default', disabled: false, options: [], value: '', }"
38
38
  }
39
39
  ],
40
40
  "exports": [
@@ -76,17 +76,20 @@
76
76
  {
77
77
  "kind": "field",
78
78
  "name": "size",
79
- "privacy": "public"
79
+ "privacy": "public",
80
+ "attribute": "size"
80
81
  },
81
82
  {
82
83
  "kind": "field",
83
84
  "name": "disabled",
84
- "privacy": "public"
85
+ "privacy": "public",
86
+ "attribute": "disabled"
85
87
  },
86
88
  {
87
89
  "kind": "field",
88
90
  "name": "status",
89
- "privacy": "public"
91
+ "privacy": "public",
92
+ "attribute": "status"
90
93
  },
91
94
  {
92
95
  "kind": "field",
@@ -94,7 +97,8 @@
94
97
  "type": {
95
98
  "text": "SelectProps['assistiveText']"
96
99
  },
97
- "privacy": "public"
100
+ "privacy": "public",
101
+ "attribute": "assistiveText"
98
102
  },
99
103
  {
100
104
  "kind": "field",
@@ -102,7 +106,9 @@
102
106
  "type": {
103
107
  "text": "SelectProps['name']"
104
108
  },
105
- "privacy": "public"
109
+ "privacy": "public",
110
+ "attribute": "name",
111
+ "reflects": true
106
112
  },
107
113
  {
108
114
  "kind": "field",
@@ -110,7 +116,8 @@
110
116
  "type": {
111
117
  "text": "SelectProps['options']"
112
118
  },
113
- "privacy": "public"
119
+ "privacy": "public",
120
+ "attribute": "options"
114
121
  },
115
122
  {
116
123
  "kind": "field",
@@ -159,7 +166,8 @@
159
166
  "type": {
160
167
  "text": "SelectProps['value']"
161
168
  },
162
- "privacy": "public"
169
+ "privacy": "public",
170
+ "attribute": "value"
163
171
  },
164
172
  {
165
173
  "kind": "field",
@@ -260,6 +268,48 @@
260
268
  "name": "change"
261
269
  }
262
270
  ],
271
+ "attributes": [
272
+ {
273
+ "name": "size",
274
+ "fieldName": "size"
275
+ },
276
+ {
277
+ "name": "disabled",
278
+ "fieldName": "disabled"
279
+ },
280
+ {
281
+ "name": "status",
282
+ "fieldName": "status"
283
+ },
284
+ {
285
+ "name": "assistiveText",
286
+ "type": {
287
+ "text": "SelectProps['assistiveText']"
288
+ },
289
+ "fieldName": "assistiveText"
290
+ },
291
+ {
292
+ "name": "name",
293
+ "type": {
294
+ "text": "SelectProps['name']"
295
+ },
296
+ "fieldName": "name"
297
+ },
298
+ {
299
+ "name": "options",
300
+ "type": {
301
+ "text": "SelectProps['options']"
302
+ },
303
+ "fieldName": "options"
304
+ },
305
+ {
306
+ "name": "value",
307
+ "type": {
308
+ "text": "SelectProps['value']"
309
+ },
310
+ "fieldName": "value"
311
+ }
312
+ ],
263
313
  "mixins": [
264
314
  {
265
315
  "name": "FormControlMixin",
@@ -288,7 +338,7 @@
288
338
  "name": "*",
289
339
  "declaration": {
290
340
  "name": "*",
291
- "package": "./defs"
341
+ "module": "src/defs"
292
342
  }
293
343
  },
294
344
  {
package/dist/index.d.ts CHANGED
File without changes
package/dist/index.js CHANGED
@@ -11,7 +11,7 @@ const h = class h extends x {
11
11
  this.getAttribute("v") || this.setAttribute("v", h.v);
12
12
  }
13
13
  };
14
- h.v = "0.8.31";
14
+ h.v = "0.8.32";
15
15
  let g = h;
16
16
  const A = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-select{--select-padding-block: var(--dt-spacing-c);--select-padding-inline-start: var(--dt-spacing-d);--select-padding-inline-end: 52px;--select-background-color: var(--dt-color-container-default);--select-text-color: var(--dt-color-content-default);--select-border-color: var(--dt-color-border-form);--select-font-family: var(--dt-font-body-l-family);--select-font-size: calc(var(--dt-font-body-l-size) * 1px);--select-line-height: calc(var(--dt-font-body-l-line-height) * 1px);--select-height: 48px;--select-cursor: pointer;position:relative;color:var(--select-text-color);font-family:var(--select-font-family);font-size:var(--select-font-size);line-height:var(--select-line-height)}.c-select select{height:var(--select-height);width:100%;border:1px solid var(--select-border-color);border-radius:var(--dt-radius-rounded-c);padding-inline-start:var(--select-padding-inline-start);padding-inline-end:var(--select-padding-inline-end);padding-block-start:var(--select-padding-block);padding-block-end:var(--select-padding-block);background-color:var(--select-background-color);font-family:inherit;font-size:inherit;line-height:inherit;color:inherit;outline:0;-webkit-appearance:none;-moz-appearance:none;appearance:none;cursor:var(--select-cursor);text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.c-select select:focus-within{box-shadow:0 0 0 2px var(--dt-color-focus-inner),0 0 0 4px var(--dt-color-focus-outer);outline:none}.c-select.c-select--small{--select-padding-block: var(--dt-spacing-b);--select-height: 40px}.c-select.c-select--large{--select-padding-block: var(--dt-spacing-d);--select-height: 56px}.c-select.c-select--error{--select-border-color: var(--dt-color-support-error)}.c-select.c-select--withLeadingIcon{--select-padding-inline-start: calc(var(--dt-spacing-h) - var(--dt-spacing-a))}.c-select ::slotted([slot=leadingIcon]),.c-select .c-select-trailingIcon{position:absolute;top:50%;transform:translateY(-50%);pointer-events:none}.c-select:not(.is-disabled) ::slotted([slot=leadingIcon]),.c-select:not(.is-disabled) .c-select-trailingIcon{color:var(--dt-color-content-subdued)}.c-select ::slotted([slot=leadingIcon]){--icon-size-override: 24px;inset-inline-start:var(--dt-spacing-d)}.c-select .c-select-trailingIcon{inset-inline-end:var(--dt-spacing-d)}@media (hover: hover){.c-select:hover{--select-background-color: hsl(var(--dt-color-container-default-h), var(--dt-color-container-default-s), calc(var(--dt-color-container-default-l) + calc(-1 * var(--dt-color-hover-01))))}@supports (background-color: color-mix(in srgb,black,white)){.c-select:hover{--select-background-color: color-mix(in srgb, var(--dt-color-hover-01-bg) var(--dt-color-hover-01), var(--dt-color-container-default))}}}.c-select.is-disabled{--select-background-color: var(--dt-color-disabled-01);--select-border-color: var(--dt-color-disabled-01);--select-text-color: var(--dt-color-content-disabled);--select-cursor: auto}", F = ["small", "medium", "large"], D = ["default", "error"], c = {
17
17
  size: "medium",
package/dist/react.d.ts CHANGED
File without changes
package/dist/react.js CHANGED
File without changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@justeattakeaway/pie-select",
3
3
  "description": "PIE Design System Select built using Web Components",
4
- "version": "0.8.31",
4
+ "version": "0.8.32",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/justeattakeaway/pie",
@@ -43,12 +43,12 @@
43
43
  "author": "Just Eat Takeaway.com - Design System Team",
44
44
  "license": "Apache-2.0",
45
45
  "devDependencies": {
46
- "@justeattakeaway/pie-components-config": "0.21.1",
46
+ "@justeattakeaway/pie-components-config": "0.21.2",
47
47
  "@justeattakeaway/pie-css": "1.1.1",
48
48
  "@justeattakeaway/pie-monorepo-utils": "0.9.1"
49
49
  },
50
50
  "dependencies": {
51
- "@justeattakeaway/pie-assistive-text": "0.11.29",
51
+ "@justeattakeaway/pie-assistive-text": "0.11.30",
52
52
  "@justeattakeaway/pie-webc-core": "14.0.1"
53
53
  },
54
54
  "volta": {
package/src/react.ts CHANGED
File without changes