@uniformdev/design-system 19.56.1-alpha.10 → 19.56.1-alpha.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/dist/esm/index.js CHANGED
@@ -2,7 +2,7 @@ import "./chunk-6NI3O2RY.js";
2
2
 
3
3
  // src/styles/Theme.tsx
4
4
  import { Fragment, jsx as jsx2, jsxs } from "@emotion/react/jsx-runtime";
5
- var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
5
+ var Theme = ({ disableReset = false }) => {
6
6
  return /* @__PURE__ */ jsxs(Fragment, { children: [
7
7
  /* @__PURE__ */ jsx2(
8
8
  "link",
@@ -193,72 +193,64 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
193
193
  --duration-fast: 0.25s;
194
194
  --duration-xfast: 0.15s;
195
195
  }
196
- `
196
+
197
+ html,
198
+ body {
199
+ color: var(--brand-secondary-1);
200
+ font-family: var(--ff-base);
201
+ scroll-behavior: smooth;
202
+ font-weight: var(--fw-regular);
203
+ line-height: 1.5;
197
204
  }
198
- }
199
- ),
200
- disableGlobalReset ? null : /* @__PURE__ */ jsx2(
201
- "style",
202
- {
203
- dangerouslySetInnerHTML: {
204
- __html: `
205
- html,
206
- body {
207
- color: var(--brand-secondary-1);
208
- font-family: var(--ff-base);
209
- scroll-behavior: smooth;
210
- font-weight: var(--fw-regular);
211
- line-height: 1.5;
212
- }
213
205
 
214
- li {
215
- line-height: 1.5rem;
216
- }
206
+ li {
207
+ line-height: 1.5rem;
208
+ }
217
209
 
218
- a, button {
219
- cursor: pointer;
220
- }
210
+ a, button {
211
+ cursor: pointer;
212
+ }
221
213
 
222
- fieldset {
223
- border: 0;
224
- padding: 0;
225
- margin: 0;
226
- min-width: 0;
227
- }
214
+ fieldset {
215
+ border: 0;
216
+ padding: 0;
217
+ margin: 0;
218
+ min-width: 0;
219
+ }
228
220
 
229
- legend {
230
- margin: 0;
231
- padding: 0;
232
- }
221
+ legend {
222
+ margin: 0;
223
+ padding: 0;
224
+ }
233
225
 
234
- button, input, optgroup, select, textarea {
235
- font-family: inherit;
236
- font-size: inherit;
237
- color: inherit;
238
- line-height: 1.25rem;
239
- }
226
+ button, input, optgroup, select, textarea {
227
+ font-family: inherit;
228
+ font-size: inherit;
229
+ color: inherit;
230
+ line-height: 1.25rem;
231
+ }
240
232
 
241
- [role=button], button {
242
- cursor: pointer;
243
- }
233
+ [role=button], button {
234
+ cursor: pointer;
235
+ }
244
236
 
245
- audio, canvas, embed, iframe, img, object, svg, video {
246
- display: block;
247
- vertical-align: middle;
248
- }
237
+ audio, canvas, embed, iframe, img, object, svg, video {
238
+ display: block;
239
+ vertical-align: middle;
240
+ }
249
241
 
250
- pre {
251
- white-space: pre;
252
- }
242
+ pre {
243
+ white-space: pre;
244
+ }
253
245
 
254
- *:where(ul, ol) {
255
- all: unset;
256
- }
246
+ *:where(ul, ol) {
247
+ all: unset;
248
+ }
257
249
 
258
- ul, ol {
259
- list-style: none;
260
- }
261
- `
250
+ ul, ol {
251
+ list-style: none;
252
+ }
253
+ `
262
254
  }
263
255
  }
264
256
  )
package/dist/index.d.mts CHANGED
@@ -27,20 +27,15 @@ export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/ric
27
27
 
28
28
  /** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
29
29
  type ThemeProps = {
30
- /**
31
- * Sets whether to disable a provided "modern-normalizer" reset stylesheet
30
+ /** sets whether to disable a provided reset stylesheet or not
32
31
  * @default false
33
32
  */
34
33
  disableReset?: boolean;
35
- /**
36
- * Sets whether to disable global Uniform reset styles
37
- */
38
- disableGlobalReset?: boolean;
39
34
  };
40
35
  /**
41
36
  * Uniform CSS Variables, font provider and optional reset stylesheet
42
37
  * @example <Theme disableReset={true} /> */
43
- declare const Theme: ({ disableReset, disableGlobalReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
38
+ declare const Theme: ({ disableReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
44
39
 
45
40
  /** Breakpoint label values */
46
41
  type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
package/dist/index.d.ts CHANGED
@@ -27,20 +27,15 @@ export { richTextBuiltInElements, richTextBuiltInFormats } from '@uniformdev/ric
27
27
 
28
28
  /** @todo: line 144 onwards will be brought into a title, paragraph, list and link components */
29
29
  type ThemeProps = {
30
- /**
31
- * Sets whether to disable a provided "modern-normalizer" reset stylesheet
30
+ /** sets whether to disable a provided reset stylesheet or not
32
31
  * @default false
33
32
  */
34
33
  disableReset?: boolean;
35
- /**
36
- * Sets whether to disable global Uniform reset styles
37
- */
38
- disableGlobalReset?: boolean;
39
34
  };
40
35
  /**
41
36
  * Uniform CSS Variables, font provider and optional reset stylesheet
42
37
  * @example <Theme disableReset={true} /> */
43
- declare const Theme: ({ disableReset, disableGlobalReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
38
+ declare const Theme: ({ disableReset }: ThemeProps) => _emotion_react_types_jsx_namespace.EmotionJSX.Element;
44
39
 
45
40
  /** Breakpoint label values */
46
41
  type BreakpointSize = 'sm' | 'md' | 'lg' | 'xl' | '2xl';
package/dist/index.js CHANGED
@@ -1570,7 +1570,7 @@ init_emotion_jsx_shim();
1570
1570
  // src/styles/Theme.tsx
1571
1571
  init_emotion_jsx_shim();
1572
1572
  var import_jsx_runtime = require("@emotion/react/jsx-runtime");
1573
- var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1573
+ var Theme = ({ disableReset = false }) => {
1574
1574
  return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(import_jsx_runtime.Fragment, { children: [
1575
1575
  /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1576
1576
  "link",
@@ -1761,72 +1761,64 @@ var Theme = ({ disableReset = false, disableGlobalReset = false }) => {
1761
1761
  --duration-fast: 0.25s;
1762
1762
  --duration-xfast: 0.15s;
1763
1763
  }
1764
- `
1764
+
1765
+ html,
1766
+ body {
1767
+ color: var(--brand-secondary-1);
1768
+ font-family: var(--ff-base);
1769
+ scroll-behavior: smooth;
1770
+ font-weight: var(--fw-regular);
1771
+ line-height: 1.5;
1765
1772
  }
1766
- }
1767
- ),
1768
- disableGlobalReset ? null : /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
1769
- "style",
1770
- {
1771
- dangerouslySetInnerHTML: {
1772
- __html: `
1773
- html,
1774
- body {
1775
- color: var(--brand-secondary-1);
1776
- font-family: var(--ff-base);
1777
- scroll-behavior: smooth;
1778
- font-weight: var(--fw-regular);
1779
- line-height: 1.5;
1780
- }
1781
1773
 
1782
- li {
1783
- line-height: 1.5rem;
1784
- }
1774
+ li {
1775
+ line-height: 1.5rem;
1776
+ }
1785
1777
 
1786
- a, button {
1787
- cursor: pointer;
1788
- }
1778
+ a, button {
1779
+ cursor: pointer;
1780
+ }
1789
1781
 
1790
- fieldset {
1791
- border: 0;
1792
- padding: 0;
1793
- margin: 0;
1794
- min-width: 0;
1795
- }
1782
+ fieldset {
1783
+ border: 0;
1784
+ padding: 0;
1785
+ margin: 0;
1786
+ min-width: 0;
1787
+ }
1796
1788
 
1797
- legend {
1798
- margin: 0;
1799
- padding: 0;
1800
- }
1789
+ legend {
1790
+ margin: 0;
1791
+ padding: 0;
1792
+ }
1801
1793
 
1802
- button, input, optgroup, select, textarea {
1803
- font-family: inherit;
1804
- font-size: inherit;
1805
- color: inherit;
1806
- line-height: 1.25rem;
1807
- }
1794
+ button, input, optgroup, select, textarea {
1795
+ font-family: inherit;
1796
+ font-size: inherit;
1797
+ color: inherit;
1798
+ line-height: 1.25rem;
1799
+ }
1808
1800
 
1809
- [role=button], button {
1810
- cursor: pointer;
1811
- }
1801
+ [role=button], button {
1802
+ cursor: pointer;
1803
+ }
1812
1804
 
1813
- audio, canvas, embed, iframe, img, object, svg, video {
1814
- display: block;
1815
- vertical-align: middle;
1816
- }
1805
+ audio, canvas, embed, iframe, img, object, svg, video {
1806
+ display: block;
1807
+ vertical-align: middle;
1808
+ }
1817
1809
 
1818
- pre {
1819
- white-space: pre;
1820
- }
1810
+ pre {
1811
+ white-space: pre;
1812
+ }
1821
1813
 
1822
- *:where(ul, ol) {
1823
- all: unset;
1824
- }
1814
+ *:where(ul, ol) {
1815
+ all: unset;
1816
+ }
1825
1817
 
1826
- ul, ol {
1827
- list-style: none;
1828
- }
1829
- `
1818
+ ul, ol {
1819
+ list-style: none;
1820
+ }
1821
+ `
1830
1822
  }
1831
1823
  }
1832
1824
  )
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@uniformdev/design-system",
3
- "version": "19.56.1-alpha.10+4656b6da5",
3
+ "version": "19.56.1-alpha.9+020a94693",
4
4
  "description": "Uniform design system components",
5
5
  "license": "SEE LICENSE IN LICENSE.txt",
6
6
  "main": "./dist/index.js",
@@ -24,8 +24,8 @@
24
24
  "@storybook/react": "6.5.16",
25
25
  "@types/react": "18.2.21",
26
26
  "@types/react-dom": "18.2.7",
27
- "@uniformdev/canvas": "^19.56.1-alpha.10+4656b6da5",
28
- "@uniformdev/richtext": "^19.56.1-alpha.10+4656b6da5",
27
+ "@uniformdev/canvas": "^19.56.1-alpha.9+020a94693",
28
+ "@uniformdev/richtext": "^19.56.1-alpha.9+020a94693",
29
29
  "autoprefixer": "10.4.15",
30
30
  "hygen": "6.2.11",
31
31
  "postcss": "8.4.28",
@@ -67,5 +67,5 @@
67
67
  "publishConfig": {
68
68
  "access": "public"
69
69
  },
70
- "gitHead": "4656b6da55c78e7e793f785739cd26cd252f77d4"
70
+ "gitHead": "020a9469359bc5480785058a22b87e5fe8579799"
71
71
  }