@umbraco-ui/uui 2.0.1 → 2.0.2
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/components/button-group/button-group.element.js +3 -0
- package/dist/components/button-group/button-group.element.js.map +1 -1
- package/dist/components/table/table.element.js +1 -0
- package/dist/components/table/table.element.js.map +1 -1
- package/dist/package.json.js +1 -1
- package/dist/package.json.js.map +1 -1
- package/package.json +13 -13
|
@@ -36,6 +36,9 @@ var UUIButtonGroupElement = class extends LitElement {
|
|
|
36
36
|
--uui-button-border-radius: 0 var(--uui-border-radius-3)
|
|
37
37
|
var(--uui-border-radius-3) 0;
|
|
38
38
|
}
|
|
39
|
+
::slotted(*:first-child:last-child) {
|
|
40
|
+
--uui-button-border-radius: var(--uui-border-radius-3);
|
|
41
|
+
}
|
|
39
42
|
|
|
40
43
|
::slotted(*:hover) {
|
|
41
44
|
z-index: 1;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-group.element.js","names":[],"sources":["../../../src/components/button-group/button-group.element.ts"],"sourcesContent":["import { css, html, LitElement } from 'lit';\n\n/**\n * Place <uui-button> elements in the slot. They will be nicely displayed.\n * @element uui-button-group\n * @slot - The slot for buttons. It supports `<uui-button>` elements out of the box.\n */\nexport class UUIButtonGroupElement extends LitElement {\n render() {\n return html`<slot></slot>`;\n }\n\n static override readonly styles = [\n css`\n :host {\n display: inline-flex;\n align-items: stretch;\n }\n\n ::slotted(*) {\n --uui-button-border-radius: 0;\n flex-grow: 1;\n }\n\n ::slotted([look='outline']:not(:first-child)) {\n --uui-button-merge-border-left: 1;\n }\n ::slotted([look='placeholder']:not(:first-child)) {\n --uui-button-merge-border-left: 1;\n }\n\n ::slotted(*:first-child) {\n --uui-button-border-radius: var(--uui-border-radius-3) 0 0\n var(--uui-border-radius-3);\n }\n ::slotted(*:last-child) {\n --uui-button-border-radius: 0 var(--uui-border-radius-3)\n var(--uui-border-radius-3) 0;\n }\n\n ::slotted(*:hover) {\n z-index: 1;\n }\n `,\n ];\n}\n"],"mappings":";;;;;;;AAOA,IAAa,wBAAb,cAA2C,WAAW;CACpD,SAAS;EACP,OAAO,IAAI;CACb;;gBAEkC,CAChC,GAAG
|
|
1
|
+
{"version":3,"file":"button-group.element.js","names":[],"sources":["../../../src/components/button-group/button-group.element.ts"],"sourcesContent":["import { css, html, LitElement } from 'lit';\n\n/**\n * Place <uui-button> elements in the slot. They will be nicely displayed.\n * @element uui-button-group\n * @slot - The slot for buttons. It supports `<uui-button>` elements out of the box.\n */\nexport class UUIButtonGroupElement extends LitElement {\n render() {\n return html`<slot></slot>`;\n }\n\n static override readonly styles = [\n css`\n :host {\n display: inline-flex;\n align-items: stretch;\n }\n\n ::slotted(*) {\n --uui-button-border-radius: 0;\n flex-grow: 1;\n }\n\n ::slotted([look='outline']:not(:first-child)) {\n --uui-button-merge-border-left: 1;\n }\n ::slotted([look='placeholder']:not(:first-child)) {\n --uui-button-merge-border-left: 1;\n }\n\n ::slotted(*:first-child) {\n --uui-button-border-radius: var(--uui-border-radius-3) 0 0\n var(--uui-border-radius-3);\n }\n ::slotted(*:last-child) {\n --uui-button-border-radius: 0 var(--uui-border-radius-3)\n var(--uui-border-radius-3) 0;\n }\n ::slotted(*:first-child:last-child) {\n --uui-button-border-radius: var(--uui-border-radius-3);\n }\n\n ::slotted(*:hover) {\n z-index: 1;\n }\n `,\n ];\n}\n"],"mappings":";;;;;;;AAOA,IAAa,wBAAb,cAA2C,WAAW;CACpD,SAAS;EACP,OAAO,IAAI;CACb;;gBAEkC,CAChC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;KAkCL;;AACF"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table.element.js","names":[],"sources":["../../../src/components/table/table.element.ts"],"sourcesContent":["import { css, html, LitElement } from 'lit';\n\n/**\n * Recreation of native table and it's child elements. `<uui-table>` is a parent element to `<uui-table-head>` `<and uui-table-row>`. To make it fully accessible remember to add aria-label and aria-describedby.\n * @element uui-table\n * @slot - slot for `<uui-table-head>` and `<uui-table-row>` elements. Make a table out of them.\n */\nexport class UUITableElement extends LitElement {\n /* consider select-only attribute on this level? */\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'table');\n }\n\n render() {\n return html`<div>\n <slot></slot>\n </div>`;\n }\n\n static override readonly styles = [\n css`\n :host {\n display: block;\n width: 100%;\n background-color: var(--uui-color-surface);\n\n overflow: clip;\n border-radius: var(--uui-border-radius-3);\n border-width: var(--uui-box-border-width, 1px);\n border-style: solid;\n border-color: var(--uui-color-divider-standalone);\n }\n\n div {\n display: table;\n width: 100%;\n }\n `,\n ];\n}\n"],"mappings":";;;;;;;AAOA,IAAa,kBAAb,cAAqC,WAAW;CAG9C,oBAAoB;EAClB,MAAM,kBAAkB;EACxB,KAAK,aAAa,QAAQ,OAAO;CACnC;CAEA,SAAS;EACP,OAAO,IAAI;;;CAGb;;gBAEkC,CAChC,GAAG
|
|
1
|
+
{"version":3,"file":"table.element.js","names":[],"sources":["../../../src/components/table/table.element.ts"],"sourcesContent":["import { css, html, LitElement } from 'lit';\n\n/**\n * Recreation of native table and it's child elements. `<uui-table>` is a parent element to `<uui-table-head>` `<and uui-table-row>`. To make it fully accessible remember to add aria-label and aria-describedby.\n * @element uui-table\n * @slot - slot for `<uui-table-head>` and `<uui-table-row>` elements. Make a table out of them.\n */\nexport class UUITableElement extends LitElement {\n /* consider select-only attribute on this level? */\n\n connectedCallback() {\n super.connectedCallback();\n this.setAttribute('role', 'table');\n }\n\n render() {\n return html`<div>\n <slot></slot>\n </div>`;\n }\n\n static override readonly styles = [\n css`\n :host {\n display: block;\n box-sizing: border-box;\n width: 100%;\n background-color: var(--uui-color-surface);\n\n overflow: clip;\n border-radius: var(--uui-border-radius-3);\n border-width: var(--uui-box-border-width, 1px);\n border-style: solid;\n border-color: var(--uui-color-divider-standalone);\n }\n\n div {\n display: table;\n width: 100%;\n }\n `,\n ];\n}\n"],"mappings":";;;;;;;AAOA,IAAa,kBAAb,cAAqC,WAAW;CAG9C,oBAAoB;EAClB,MAAM,kBAAkB;EACxB,KAAK,aAAa,QAAQ,OAAO;CACnC;CAEA,SAAS;EACP,OAAO,IAAI;;;CAGb;;gBAEkC,CAChC,GAAG;;;;;;;;;;;;;;;;;;KAmBL;;AACF"}
|
package/dist/package.json.js
CHANGED
package/dist/package.json.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"package.json.js","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@umbraco-ui/uui\",\n \"version\": \"2.0.
|
|
1
|
+
{"version":3,"file":"package.json.js","names":[],"sources":["../package.json"],"sourcesContent":["{\n \"name\": \"@umbraco-ui/uui\",\n \"version\": \"2.0.2\",\n \"description\": \"The Umbraco UI Library - web components for the Umbraco backoffice.\",\n \"license\": \"MIT\",\n \"type\": \"module\",\n \"main\": \"./dist/index.js\",\n \"module\": \"./dist/index.js\",\n \"types\": \"./dist/index.d.ts\",\n \"exports\": {\n \".\": {\n \"types\": \"./dist/index.d.ts\",\n \"import\": \"./dist/index.js\"\n },\n \"./components/*\": \"./dist/components/*\",\n \"./internal/*\": \"./dist/internal/*\",\n \"./themes/*\": \"./dist/themes/*\",\n \"./styles/*\": \"./dist/styles/*\"\n },\n \"sideEffects\": [\n \"dist/components/**/*.js\",\n \"dist/index.js\",\n \"dist/internal/version.js\",\n \"src/components/**/*.ts\",\n \"src/index.ts\",\n \"src/internal/version.ts\"\n ],\n \"customElements\": \"custom-elements.json\",\n \"files\": [\n \"dist/**/*.js\",\n \"dist/**/*.js.map\",\n \"dist/**/*.d.ts\",\n \"dist/**/*.css\",\n \"dist/**/*.woff2\",\n \"custom-elements.json\",\n \"vscode.html-custom-data.json\"\n ],\n \"repository\": {\n \"type\": \"git\",\n \"url\": \"https://github.com/umbraco/Umbraco.UI.git\"\n },\n \"bugs\": {\n \"url\": \"https://github.com/umbraco/Umbraco.UI/issues\"\n },\n \"homepage\": \"https://github.com/umbraco/Umbraco.UI/#readme\",\n \"keywords\": [\n \"umbraco\",\n \"backoffice\",\n \"web-components\",\n \"shadow-dom\",\n \"custom-elements\"\n ],\n \"publishConfig\": {\n \"access\": \"public\"\n },\n \"scripts\": {\n \"lint:eslint\": \"eslint --cache\",\n \"format:eslint\": \"eslint --fix\",\n \"lint:prettier\": \"prettier \\\"**/*.js\\\" \\\"**/*.ts\\\" \\\"**/*.mjs\\\" --check --ignore-path .gitignore\",\n \"format:prettier\": \"prettier \\\"**/*.js\\\" \\\"**/*.ts\\\" \\\"**/*.mjs\\\" --write --ignore-path .gitignore\",\n \"lint\": \"npm run lint:eslint\",\n \"format\": \"npm run format:eslint\",\n \"test\": \"vitest run\",\n \"test:watch\": \"vitest\",\n \"test:coverage-for\": \"node scripts/test-coverage-package.js\",\n \"dev\": \"npm run clean && npm run storybook\",\n \"build\": \"vite build && tsc -p tsconfig.build.json && npm run analyze\",\n \"verify-build\": \"node scripts/verify-build.js\",\n \"build:watch\": \"tsc -p tsconfig.build.json && vite build --watch --emptyOutDir false\",\n \"clean\": \"rimraf dist custom-elements.json vscode.html-custom-data.json\",\n \"analyze\": \"web-component-analyzer src/**/*.element.ts --outFile custom-elements.json && web-component-analyzer src/**/*.element.ts --format vscode --outFile vscode.html-custom-data.json\",\n \"prepare\": \"husky\",\n \"chromatic\": \"npx chromatic --build-script-name storybook:build\",\n \"storybook\": \"npm run analyze && storybook dev -p 6006\",\n \"storybook:build\": \"npm run analyze && storybook build\",\n \"new-component\": \"plop\",\n \"test:codemod\": \"node --test scripts/codemods/test.js\",\n \"lerna:version\": \"lerna version --conventional-commits --sync-workspace-lock\",\n \"lerna:version:rc\": \"npm run lerna:version -- --conventional-prerelease\"\n },\n \"engines\": {\n \"node\": \">=24.13\",\n \"npm\": \">=11\"\n },\n \"dependencies\": {\n \"culori\": \"^4.0.2\",\n \"lit\": \"^3.0.0\"\n },\n \"devDependencies\": {\n \"@chromatic-com/storybook\": \"5.2.1\",\n \"@eslint/compat\": \"^2.1.0\",\n \"@eslint/js\": \"10.0.1\",\n \"@lerna-lite/cli\": \"5.4.2\",\n \"@lerna-lite/publish\": \"5.4.2\",\n \"@lerna-lite/version\": \"5.4.2\",\n \"@storybook/addon-a11y\": \"^10.5.5\",\n \"@storybook/addon-docs\": \"^10.5.5\",\n \"@storybook/addon-links\": \"^10.5.5\",\n \"@storybook/web-components-vite\": \"^10.5.5\",\n \"@testing-library/dom\": \"10.4.1\",\n \"@types/culori\": \"^4.0.1\",\n \"@types/react\": \"18.3.1\",\n \"@types/react-dom\": \"18.3.1\",\n \"@vitest/browser\": \"^4.1.10\",\n \"@vitest/browser-playwright\": \"^4.1.10\",\n \"axe-core\": \"^4.12.1\",\n \"chromatic\": \"^18.1.0\",\n \"eslint\": \"^10.6.0\",\n \"eslint-config-prettier\": \"10.1.8\",\n \"eslint-plugin-import\": \"^2.32.0\",\n \"eslint-plugin-lit\": \"^2.3.1\",\n \"eslint-plugin-local-rules\": \"3.0.2\",\n \"eslint-plugin-prettier\": \"5.5.6\",\n \"eslint-plugin-storybook\": \"10.5.5\",\n \"eslint-plugin-wc\": \"3.1.0\",\n \"github-markdown-css\": \"5.9.0\",\n \"globals\": \"^17.7.0\",\n \"husky\": \"9.1.7\",\n \"jscodeshift\": \"^17.3.0\",\n \"lint-staged\": \"17.0.8\",\n \"playwright\": \"^1.61.1\",\n \"plop\": \"4.0.5\",\n \"prettier\": \"3.8.1\",\n \"react\": \"18.3.1\",\n \"react-dom\": \"18.3.1\",\n \"react-markdown\": \"10.1.0\",\n \"react-syntax-highlighter\": \"16.1.1\",\n \"remark-gfm\": \"4.0.1\",\n \"rimraf\": \"6.1.3\",\n \"storybook\": \"^10.5.5\",\n \"tsc-files\": \"1.1.4\",\n \"typescript\": \"6.0.3\",\n \"typescript-eslint\": \"8.63.0\",\n \"vite\": \"8.1.3\",\n \"vitest\": \"^4.1.10\",\n \"vitest-browser-lit\": \"^1.0.1\",\n \"web-component-analyzer\": \"2.0.0\"\n },\n \"lint-staged\": {\n \"*.element.ts\": [\n \"eslint --cache --fix\",\n \"tsc-files --project tsconfig.lint-staged.json\"\n ],\n \"!(*.element).ts\": \"eslint --cache --fix\",\n \"*\": \"prettier --ignore-unknown --write\"\n },\n \"storybook\": {\n \"url\": \"https://uui.umbraco.com\"\n },\n \"packageManager\": \"npm@11.18.0\"\n}\n"],"mappings":""}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umbraco-ui/uui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.2",
|
|
4
4
|
"description": "The Umbraco UI Library - web components for the Umbraco backoffice.",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -90,13 +90,13 @@
|
|
|
90
90
|
"@chromatic-com/storybook": "5.2.1",
|
|
91
91
|
"@eslint/compat": "^2.1.0",
|
|
92
92
|
"@eslint/js": "10.0.1",
|
|
93
|
-
"@lerna-lite/cli": "5.4.
|
|
94
|
-
"@lerna-lite/publish": "5.4.
|
|
95
|
-
"@lerna-lite/version": "5.4.
|
|
96
|
-
"@storybook/addon-a11y": "^10.
|
|
97
|
-
"@storybook/addon-docs": "^10.
|
|
98
|
-
"@storybook/addon-links": "^10.
|
|
99
|
-
"@storybook/web-components-vite": "^10.
|
|
93
|
+
"@lerna-lite/cli": "5.4.2",
|
|
94
|
+
"@lerna-lite/publish": "5.4.2",
|
|
95
|
+
"@lerna-lite/version": "5.4.2",
|
|
96
|
+
"@storybook/addon-a11y": "^10.5.5",
|
|
97
|
+
"@storybook/addon-docs": "^10.5.5",
|
|
98
|
+
"@storybook/addon-links": "^10.5.5",
|
|
99
|
+
"@storybook/web-components-vite": "^10.5.5",
|
|
100
100
|
"@testing-library/dom": "10.4.1",
|
|
101
101
|
"@types/culori": "^4.0.1",
|
|
102
102
|
"@types/react": "18.3.1",
|
|
@@ -104,14 +104,14 @@
|
|
|
104
104
|
"@vitest/browser": "^4.1.10",
|
|
105
105
|
"@vitest/browser-playwright": "^4.1.10",
|
|
106
106
|
"axe-core": "^4.12.1",
|
|
107
|
-
"chromatic": "^18.0
|
|
107
|
+
"chromatic": "^18.1.0",
|
|
108
108
|
"eslint": "^10.6.0",
|
|
109
109
|
"eslint-config-prettier": "10.1.8",
|
|
110
110
|
"eslint-plugin-import": "^2.32.0",
|
|
111
111
|
"eslint-plugin-lit": "^2.3.1",
|
|
112
112
|
"eslint-plugin-local-rules": "3.0.2",
|
|
113
113
|
"eslint-plugin-prettier": "5.5.6",
|
|
114
|
-
"eslint-plugin-storybook": "10.
|
|
114
|
+
"eslint-plugin-storybook": "10.5.5",
|
|
115
115
|
"eslint-plugin-wc": "3.1.0",
|
|
116
116
|
"github-markdown-css": "5.9.0",
|
|
117
117
|
"globals": "^17.7.0",
|
|
@@ -127,10 +127,10 @@
|
|
|
127
127
|
"react-syntax-highlighter": "16.1.1",
|
|
128
128
|
"remark-gfm": "4.0.1",
|
|
129
129
|
"rimraf": "6.1.3",
|
|
130
|
-
"storybook": "^10.
|
|
130
|
+
"storybook": "^10.5.5",
|
|
131
131
|
"tsc-files": "1.1.4",
|
|
132
132
|
"typescript": "6.0.3",
|
|
133
|
-
"typescript-eslint": "8.
|
|
133
|
+
"typescript-eslint": "8.63.0",
|
|
134
134
|
"vite": "8.1.3",
|
|
135
135
|
"vitest": "^4.1.10",
|
|
136
136
|
"vitest-browser-lit": "^1.0.1",
|
|
@@ -148,5 +148,5 @@
|
|
|
148
148
|
"url": "https://uui.umbraco.com"
|
|
149
149
|
},
|
|
150
150
|
"packageManager": "npm@11.18.0",
|
|
151
|
-
"gitHead": "
|
|
151
|
+
"gitHead": "bfcd82441fa96f778c9f435661213e6f93778c3a"
|
|
152
152
|
}
|