@justeattakeaway/pie-assistive-text 0.11.11 → 0.11.13
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/dist/index.js +1 -1
- package/dist/react.d.ts +1 -1
- package/package.json +4 -4
- package/src/react.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -9,7 +9,7 @@ const c = class c extends u {
|
|
|
9
9
|
this.getAttribute("v") || this.setAttribute("v", c.v);
|
|
10
10
|
}
|
|
11
11
|
};
|
|
12
|
-
c.v = "0.11.
|
|
12
|
+
c.v = "0.11.13";
|
|
13
13
|
let d = c;
|
|
14
14
|
const b = "*,*:after,*:before{box-sizing:inherit}:host{display:block}.c-assistiveText{--assistive-text-color: var(--dt-color-content-subdued-solid);margin:0;padding-block-start:var(--dt-spacing-a);color:var(--assistive-text-color);font-family:var(--dt-font-body-s-family);font-weight:var(--dt-font-body-s-weight);font-size:calc(var(--dt-font-body-s-size) * 1px);line-height:calc(var(--dt-font-body-s-line-height) * 1px);gap:var(--dt-spacing-b);display:flex;align-items:flex-start;overflow-wrap:anywhere}.c-assistiveText .c-assistiveText-icon{display:inline-flex}.c-assistiveText--success{--assistive-text-color: var(--dt-color-content-positive-solid)}.c-assistiveText--error{--assistive-text-color: var(--dt-color-content-error-solid)}.c-assistiveText--isVisuallyHidden{position:absolute;display:block;height:1px;width:1px;overflow:hidden;padding:1px;white-space:nowrap}", w = ["default", "error", "success"], v = {
|
|
15
15
|
variant: "default",
|
package/dist/react.d.ts
CHANGED
|
@@ -19,7 +19,7 @@ export declare type DefaultProps = ComponentDefaultProps<AssistiveTextProps>;
|
|
|
19
19
|
|
|
20
20
|
export declare const defaultProps: DefaultProps;
|
|
21
21
|
|
|
22
|
-
export declare const PieAssistiveText: React_2.ForwardRefExoticComponent<React_2.PropsWithoutRef<AssistiveTextProps
|
|
22
|
+
export declare const PieAssistiveText: React_2.ForwardRefExoticComponent<React_2.PropsWithChildren<Omit<React_2.PropsWithoutRef<AssistiveTextProps>, "children">> & React_2.RefAttributes<PieAssistiveText_2> & ReactBaseType>;
|
|
23
23
|
|
|
24
24
|
/**
|
|
25
25
|
* @tagname pie-assistive-text
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@justeattakeaway/pie-assistive-text",
|
|
3
3
|
"description": "PIE Design System Assistive Text built using Web Components",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.13",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
7
|
"url": "https://github.com/justeattakeaway/pie",
|
|
@@ -45,13 +45,13 @@
|
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@custom-elements-manifest/analyzer": "0.9.0",
|
|
47
47
|
"@justeattakeaway/pie-components-config": "0.21.0",
|
|
48
|
-
"@justeattakeaway/pie-css": "0.26.
|
|
48
|
+
"@justeattakeaway/pie-css": "0.26.2",
|
|
49
49
|
"@justeattakeaway/pie-monorepo-utils": "0.7.0",
|
|
50
50
|
"cem-plugin-module-file-extensions": "0.0.5"
|
|
51
51
|
},
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@justeattakeaway/pie-icons-webc": "1.
|
|
54
|
-
"@justeattakeaway/pie-webc-core": "6.0.
|
|
53
|
+
"@justeattakeaway/pie-icons-webc": "1.20.1",
|
|
54
|
+
"@justeattakeaway/pie-webc-core": "6.0.2"
|
|
55
55
|
},
|
|
56
56
|
"volta": {
|
|
57
57
|
"extends": "../../../package.json"
|
package/src/react.ts
CHANGED
|
@@ -15,5 +15,5 @@ const PieAssistiveTextReact = createComponent({
|
|
|
15
15
|
|
|
16
16
|
type ReactBaseType = React.HTMLAttributes<HTMLElement>
|
|
17
17
|
|
|
18
|
-
export const PieAssistiveText = PieAssistiveTextReact as React.ForwardRefExoticComponent<React.PropsWithoutRef<AssistiveTextProps
|
|
18
|
+
export const PieAssistiveText = PieAssistiveTextReact as React.ForwardRefExoticComponent<React.PropsWithChildren<Omit<React.PropsWithoutRef<AssistiveTextProps>, 'children'>>
|
|
19
19
|
& React.RefAttributes<PieAssistiveTextLit> & ReactBaseType>;
|