@justeattakeaway/pie-checkbox-group 0.9.8 → 0.9.9
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/custom-elements.json +5 -40
- package/dist/index.d.ts +6 -6
- package/dist/index.js +1 -1
- package/dist/react.d.ts +7 -7
- package/package.json +6 -6
package/custom-elements.json
CHANGED
|
@@ -115,9 +115,7 @@
|
|
|
115
115
|
"type": {
|
|
116
116
|
"text": "CheckboxGroupProps['name']"
|
|
117
117
|
},
|
|
118
|
-
"privacy": "public"
|
|
119
|
-
"attribute": "name",
|
|
120
|
-
"reflects": true
|
|
118
|
+
"privacy": "public"
|
|
121
119
|
},
|
|
122
120
|
{
|
|
123
121
|
"kind": "field",
|
|
@@ -125,27 +123,22 @@
|
|
|
125
123
|
"type": {
|
|
126
124
|
"text": "CheckboxGroupProps['assistiveText']"
|
|
127
125
|
},
|
|
128
|
-
"privacy": "public"
|
|
129
|
-
"attribute": "assistiveText"
|
|
126
|
+
"privacy": "public"
|
|
130
127
|
},
|
|
131
128
|
{
|
|
132
129
|
"kind": "field",
|
|
133
130
|
"name": "isInline",
|
|
134
|
-
"privacy": "public"
|
|
135
|
-
"attribute": "isInline"
|
|
131
|
+
"privacy": "public"
|
|
136
132
|
},
|
|
137
133
|
{
|
|
138
134
|
"kind": "field",
|
|
139
135
|
"name": "status",
|
|
140
|
-
"privacy": "public"
|
|
141
|
-
"attribute": "status"
|
|
136
|
+
"privacy": "public"
|
|
142
137
|
},
|
|
143
138
|
{
|
|
144
139
|
"kind": "field",
|
|
145
140
|
"name": "disabled",
|
|
146
|
-
"privacy": "public"
|
|
147
|
-
"attribute": "disabled",
|
|
148
|
-
"reflects": true
|
|
141
|
+
"privacy": "public"
|
|
149
142
|
},
|
|
150
143
|
{
|
|
151
144
|
"kind": "field",
|
|
@@ -216,34 +209,6 @@
|
|
|
216
209
|
"name": "pie-checkbox-group-error"
|
|
217
210
|
}
|
|
218
211
|
],
|
|
219
|
-
"attributes": [
|
|
220
|
-
{
|
|
221
|
-
"name": "name",
|
|
222
|
-
"type": {
|
|
223
|
-
"text": "CheckboxGroupProps['name']"
|
|
224
|
-
},
|
|
225
|
-
"fieldName": "name"
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
"name": "assistiveText",
|
|
229
|
-
"type": {
|
|
230
|
-
"text": "CheckboxGroupProps['assistiveText']"
|
|
231
|
-
},
|
|
232
|
-
"fieldName": "assistiveText"
|
|
233
|
-
},
|
|
234
|
-
{
|
|
235
|
-
"name": "isInline",
|
|
236
|
-
"fieldName": "isInline"
|
|
237
|
-
},
|
|
238
|
-
{
|
|
239
|
-
"name": "status",
|
|
240
|
-
"fieldName": "status"
|
|
241
|
-
},
|
|
242
|
-
{
|
|
243
|
-
"name": "disabled",
|
|
244
|
-
"fieldName": "disabled"
|
|
245
|
-
}
|
|
246
|
-
],
|
|
247
212
|
"mixins": [
|
|
248
213
|
{
|
|
249
214
|
"name": "FormControlMixin",
|
package/dist/index.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { CSSResult } from 'lit';
|
|
3
|
+
import { FormControlInterface } from '@justeattakeaway/pie-webc-core';
|
|
4
|
+
import { GenericConstructor } from '@justeattakeaway/pie-webc-core';
|
|
5
5
|
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
6
|
-
import
|
|
7
|
-
import
|
|
8
|
-
import
|
|
6
|
+
import { PropertyValues } from 'lit';
|
|
7
|
+
import { RTLInterface } from '@justeattakeaway/pie-webc-core';
|
|
8
|
+
import { TemplateResult } from 'lit';
|
|
9
9
|
|
|
10
10
|
export declare interface CheckboxGroupProps {
|
|
11
11
|
/**
|
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const d = class d extends x {
|
|
|
9
9
|
this.getAttribute("v") || this.setAttribute("v", d.v);
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
d.v = "0.9.
|
|
12
|
+
d.v = "0.9.9";
|
|
13
13
|
let b = d;
|
|
14
14
|
const S = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-checkboxGroup{--checkbox-group-offset: var(--dt-spacing-c);--checkbox-group-offset--inline: var(--dt-spacing-e);--checkbox-group-label-offset: var(--dt-spacing-a);margin:0;padding:0;border:0;min-width:0}.c-checkboxGroup ::slotted(pie-checkbox){display:flex}.c-checkboxGroup ::slotted(pie-form-label){display:block;padding-block-end:var(--checkbox-group-label-offset)}.c-checkboxGroup:not(.c-checkboxGroup--inline) ::slotted(pie-checkbox:not(:last-child)){margin-block-end:var(--checkbox-group-offset)}.c-checkboxGroup--inline{display:flex;align-items:flex-start;flex-wrap:wrap}.c-checkboxGroup.c-checkboxGroup--inline{margin:calc(-1 * var(--checkbox-group-offset) / 2) calc(-1 * var(--checkbox-group-offset--inline) / 2)}.c-checkboxGroup.c-checkboxGroup--inline ::slotted(pie-checkbox){margin:calc(var(--checkbox-group-offset) / 2) calc(var(--checkbox-group-offset--inline) / 2)}.c-checkboxGroup.c-checkboxGroup--inline ::slotted(pie-form-label){margin:0 calc(var(--checkbox-group-offset--inline) / 2) calc(-1 * (var(--checkbox-group-offset) / 2 - var(--checkbox-group-label-offset)));padding-block-end:0}.c-checkboxGroup-assistiveText{--checkbox-group-assistive-text-offset: var(--dt-spacing-a);display:block;margin-block-start:var(--checkbox-group-assistive-text-offset)}", E = ["default", "success", "error"], O = "pie-checkbox-group-disabled", $ = "pie-checkbox-group-error", p = {
|
|
15
15
|
status: "default",
|
package/dist/react.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { ComponentDefaultProps } from '@justeattakeaway/pie-webc-core';
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
2
|
+
import { CSSResult } from 'lit';
|
|
3
|
+
import { FormControlInterface } from '@justeattakeaway/pie-webc-core';
|
|
4
|
+
import { GenericConstructor } from '@justeattakeaway/pie-webc-core';
|
|
5
5
|
import { PieElement } from '@justeattakeaway/pie-webc-core/src/internals/PieElement';
|
|
6
|
-
import
|
|
6
|
+
import { PropertyValues } from 'lit';
|
|
7
7
|
import * as React_2 from 'react';
|
|
8
|
-
import
|
|
9
|
-
import
|
|
8
|
+
import { RTLInterface } from '@justeattakeaway/pie-webc-core';
|
|
9
|
+
import { TemplateResult } from 'lit';
|
|
10
10
|
|
|
11
11
|
export declare interface CheckboxGroupProps {
|
|
12
12
|
/**
|
|
@@ -44,7 +44,7 @@ export declare const ON_CHECKBOX_GROUP_DISABLED = "pie-checkbox-group-disabled";
|
|
|
44
44
|
|
|
45
45
|
export declare const ON_CHECKBOX_GROUP_ERROR = "pie-checkbox-group-error";
|
|
46
46
|
|
|
47
|
-
export declare const PieCheckboxGroup: React_2.ForwardRefExoticComponent<CheckboxGroupProps & React_2.RefAttributes<PieCheckboxGroup_2> & PieCheckboxGroupEvents & ReactBaseType>;
|
|
47
|
+
export declare const PieCheckboxGroup: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<CheckboxGroupProps> & React_2.RefAttributes<PieCheckboxGroup_2> & PieCheckboxGroupEvents & ReactBaseType>;
|
|
48
48
|
|
|
49
49
|
/**
|
|
50
50
|
* @tagname pie-checkbox-group
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-checkbox-group",
|
|
3
3
|
"description": "PIE Design System Checkbox Group built using Web Components",
|
|
4
|
-
"version": "0.9.
|
|
4
|
+
"version": "0.9.9",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -39,14 +39,14 @@
|
|
|
39
39
|
"license": "Apache-2.0",
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
42
|
-
"@justeattakeaway/pie-checkbox": "0.16.
|
|
43
|
-
"@justeattakeaway/pie-components-config": "0.
|
|
44
|
-
"@justeattakeaway/pie-css": "0.
|
|
45
|
-
"@justeattakeaway/pie-monorepo-utils": "0.
|
|
42
|
+
"@justeattakeaway/pie-checkbox": "0.16.10",
|
|
43
|
+
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
44
|
+
"@justeattakeaway/pie-css": "0.18.0",
|
|
45
|
+
"@justeattakeaway/pie-monorepo-utils": "0.6.0",
|
|
46
46
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
47
47
|
},
|
|
48
48
|
"dependencies": {
|
|
49
|
-
"@justeattakeaway/pie-assistive-text": "0.10.
|
|
49
|
+
"@justeattakeaway/pie-assistive-text": "0.10.9",
|
|
50
50
|
"@justeattakeaway/pie-webc-core": "1.0.0"
|
|
51
51
|
},
|
|
52
52
|
"volta": {
|