@umbraco-ui/uui 2.0.0-rc.2 → 2.0.0

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.
@@ -6,13 +6,15 @@ const _UUITableElement = class _UUITableElement extends LitElement {
6
6
  this.setAttribute("role", "table");
7
7
  }
8
8
  render() {
9
- return html`<slot></slot>`;
9
+ return html`<div>
10
+ <slot></slot>
11
+ </div>`;
10
12
  }
11
13
  };
12
14
  _UUITableElement.styles = [
13
15
  css`
14
16
  :host {
15
- display: table;
17
+ display: block;
16
18
  width: 100%;
17
19
  background-color: var(--uui-color-surface);
18
20
 
@@ -22,6 +24,11 @@ _UUITableElement.styles = [
22
24
  border-style: solid;
23
25
  border-color: var(--uui-color-divider-standalone);
24
26
  }
27
+
28
+ div {
29
+ display: table;
30
+ width: 100%;
31
+ }
25
32
  `
26
33
  ];
27
34
  let UUITableElement = _UUITableElement;
@@ -1 +1 @@
1
- {"version":3,"file":"table.element.js","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`<slot></slot>`;\n }\n\n static override readonly styles = [\n css`\n :host {\n display: table;\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 ];\n}\n"],"names":[],"mappings":";AAOO,MAAM,mBAAN,MAAM,yBAAwB,WAAW;AAAA;AAAA,EAG9C,oBAAoB;AAClB,UAAM,kBAAA;AACN,SAAK,aAAa,QAAQ,OAAO;AAAA,EACnC;AAAA,EAEA,SAAS;AACP,WAAO;AAAA,EACT;AAiBF;AAfE,iBAAyB,SAAS;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAbG,IAAM,kBAAN;"}
1
+ {"version":3,"file":"table.element.js","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"],"names":[],"mappings":";AAOO,MAAM,mBAAN,MAAM,yBAAwB,WAAW;AAAA;AAAA,EAG9C,oBAAoB;AAClB,UAAM,kBAAA;AACN,SAAK,aAAa,QAAQ,OAAO;AAAA,EACnC;AAAA,EAEA,SAAS;AACP,WAAO;AAAA;AAAA;AAAA,EAGT;AAsBF;AApBE,iBAAyB,SAAS;AAAA,EAChC;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAfG,IAAM,kBAAN;"}
@@ -1,4 +1,4 @@
1
- const version = "2.0.0-rc.2";
1
+ const version = "2.0.0";
2
2
  export {
3
3
  version
4
4
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@umbraco-ui/uui",
3
- "version": "2.0.0-rc.2",
3
+ "version": "2.0.0",
4
4
  "description": "The Umbraco UI Library - web components for the Umbraco backoffice.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -86,16 +86,16 @@
86
86
  "lit": "^3.0.0"
87
87
  },
88
88
  "devDependencies": {
89
- "@chromatic-com/storybook": "5.1.2",
89
+ "@chromatic-com/storybook": "5.2.1",
90
90
  "@eslint/compat": "^2.1.0",
91
91
  "@eslint/js": "10.0.1",
92
- "@lerna-lite/cli": "5.2.1",
93
- "@lerna-lite/publish": "5.2.1",
94
- "@lerna-lite/version": "5.2.1",
95
- "@storybook/addon-a11y": "^10.4.0",
96
- "@storybook/addon-docs": "^10.4.0",
97
- "@storybook/addon-links": "^10.4.0",
98
- "@storybook/web-components-vite": "^10.4.0",
92
+ "@lerna-lite/cli": "5.3.0",
93
+ "@lerna-lite/publish": "5.3.0",
94
+ "@lerna-lite/version": "5.3.0",
95
+ "@storybook/addon-a11y": "^10.4.6",
96
+ "@storybook/addon-docs": "^10.4.6",
97
+ "@storybook/addon-links": "^10.4.6",
98
+ "@storybook/web-components-vite": "^10.4.6",
99
99
  "@testing-library/dom": "10.4.1",
100
100
  "@types/culori": "^4.0.1",
101
101
  "@types/react": "18.3.1",
@@ -103,14 +103,14 @@
103
103
  "@vitest/browser": "^4.1.6",
104
104
  "@vitest/browser-playwright": "^4.1.6",
105
105
  "axe-core": "^4.11.4",
106
- "chromatic": "^17.0.0",
106
+ "chromatic": "^17.5.0",
107
107
  "eslint": "^10.3.0",
108
108
  "eslint-config-prettier": "10.1.8",
109
109
  "eslint-plugin-import": "^2.32.0",
110
110
  "eslint-plugin-lit": "^2.3.1",
111
111
  "eslint-plugin-local-rules": "3.0.2",
112
112
  "eslint-plugin-prettier": "5.5.5",
113
- "eslint-plugin-storybook": "10.4.0",
113
+ "eslint-plugin-storybook": "10.4.6",
114
114
  "eslint-plugin-wc": "3.1.0",
115
115
  "github-markdown-css": "5.9.0",
116
116
  "globals": "^17.6.0",
@@ -126,7 +126,7 @@
126
126
  "react-syntax-highlighter": "16.1.1",
127
127
  "remark-gfm": "4.0.1",
128
128
  "rimraf": "6.1.3",
129
- "storybook": "^10.4.0",
129
+ "storybook": "^10.4.6",
130
130
  "tsc-files": "1.1.4",
131
131
  "typescript": "6.0.3",
132
132
  "typescript-eslint": "8.56.1",
@@ -147,5 +147,5 @@
147
147
  "url": "https://uui.umbraco.com"
148
148
  },
149
149
  "packageManager": "npm@11.1.0",
150
- "gitHead": "e7a55ef69ef9ffd7a99d7e2e0e20b23a2d516da8"
150
+ "gitHead": "1785457a54dd86354f4cca05801ff5eb00bdacf4"
151
151
  }