@mirai/ui 1.0.181 → 1.0.183

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.
Files changed (40) hide show
  1. package/README.md +2 -2
  2. package/build/components/Calendar/Calendar.Week.js +1 -1
  3. package/build/components/Calendar/Calendar.Week.js.map +1 -1
  4. package/build/components/Calendar/Calendar.module.css +1 -3
  5. package/build/components/Calendar/__tests__/__snapshots__/Calendar.test.jsx.snap +122 -122
  6. package/build/components/InputText/InputText.js +1 -1
  7. package/build/components/InputText/InputText.js.map +1 -1
  8. package/build/components/InputText/partials/InputText.Label.js +1 -1
  9. package/build/components/InputText/partials/InputText.Label.js.map +1 -1
  10. package/build/components/Table/Table.ColumnFilter.js +28 -15
  11. package/build/components/Table/Table.ColumnFilter.js.map +1 -1
  12. package/build/components/Table/Table.Filter.js +18 -8
  13. package/build/components/Table/Table.Filter.js.map +1 -1
  14. package/build/components/Table/Table.Row.js +5 -1
  15. package/build/components/Table/Table.Row.js.map +1 -1
  16. package/build/components/Table/Table.constants.js +18 -0
  17. package/build/components/Table/Table.constants.js.map +1 -0
  18. package/build/components/Table/Table.js +26 -10
  19. package/build/components/Table/Table.js.map +1 -1
  20. package/build/components/Table/Table.module.css +18 -9
  21. package/build/components/Table/Table.stories.js +15 -4
  22. package/build/components/Table/Table.stories.js.map +1 -1
  23. package/build/components/Table/Table.stories.module.css +10 -2
  24. package/build/components/Table/__tests__/__snapshots__/Table.ColumnFilter.test.js.snap +762 -0
  25. package/build/components/Table/__tests__/__snapshots__/Table.test.js.snap +371 -9
  26. package/build/components/Table/helpers/index.js +11 -0
  27. package/build/components/Table/helpers/index.js.map +1 -1
  28. package/build/components/Table/helpers/select.js +16 -11
  29. package/build/components/Table/helpers/select.js.map +1 -1
  30. package/build/components/Table/helpers/storage.js +28 -0
  31. package/build/components/Table/helpers/storage.js.map +1 -0
  32. package/build/primitives/Layer/Layer.module.css +1 -1
  33. package/build/primitives/Text/Text.js +4 -2
  34. package/build/primitives/Text/Text.js.map +1 -1
  35. package/build/primitives/Text/Text.module.css +5 -0
  36. package/build/primitives/Text/Text.stories.js +1 -0
  37. package/build/primitives/Text/Text.stories.js.map +1 -1
  38. package/build/primitives/Text/__tests__/__snapshots__/Text.test.js.snap +10 -0
  39. package/build/theme/default.theme.css +2 -2
  40. package/package.json +1 -1
@@ -1 +1 @@
1
- {"version":3,"file":"Text.stories.js","names":["title","Story","childrenMarkdown","props","storyName","args","accent","action","bold","children","headline","level","lighten","small","tag","underline","upperCase","wide","testId","style","argTypes"],"sources":["../../../src/primitives/Text/Text.stories.jsx"],"sourcesContent":["import React from 'react';\n\nimport { Text } from './Text';\n\nexport default { title: 'Primitives' };\n\nexport const Story = ({ childrenMarkdown, ...props }) => (\n <>\n <Text {...props} />\n <Text {...props} children={childrenMarkdown} />\n </>\n);\n\nStory.storyName = 'Text';\n\nStory.args = {\n accent: false,\n action: false,\n bold: false,\n children: 'children',\n childrenMarkdown:\n '<Text> is **capable** of _interpreting_ and *representing* [markdown](https://www.markdownguide.org/) ~~markup~~ {language}.',\n headline: false,\n level: 3,\n lighten: false,\n small: false,\n tag: 'span',\n underline: false,\n upperCase: false,\n wide: false,\n // inherited properties\n testId: 'test-story',\n style: {},\n};\n\nStory.argTypes = {};\n"],"mappings":";;;;;;AAAA;AAEA;AAA8B;AAAA;AAAA;AAAA;AAAA;AAAA,eAEf;EAAEA,KAAK,EAAE;AAAa,CAAC;AAAA;AAE/B,IAAMC,KAAK,GAAG,SAARA,KAAK;EAAA,IAAMC,gBAAgB,QAAhBA,gBAAgB;IAAKC,KAAK;EAAA,oBAChD,yEACE,6BAAC,UAAI,EAAKA,KAAK,CAAI,eACnB,6BAAC,UAAI,eAAKA,KAAK;IAAE,QAAQ,EAAED;EAAiB,GAAG,CAC9C;AAAA,CACJ;AAAC;AAEFD,KAAK,CAACG,SAAS,GAAG,MAAM;AAExBH,KAAK,CAACI,IAAI,GAAG;EACXC,MAAM,EAAE,KAAK;EACbC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE,KAAK;EACXC,QAAQ,EAAE,UAAU;EACpBP,gBAAgB,EACd,8HAA8H;EAChIQ,QAAQ,EAAE,KAAK;EACfC,KAAK,EAAE,CAAC;EACRC,OAAO,EAAE,KAAK;EACdC,KAAK,EAAE,KAAK;EACZC,GAAG,EAAE,MAAM;EACXC,SAAS,EAAE,KAAK;EAChBC,SAAS,EAAE,KAAK;EAChBC,IAAI,EAAE,KAAK;EACX;EACAC,MAAM,EAAE,YAAY;EACpBC,KAAK,EAAE,CAAC;AACV,CAAC;AAEDlB,KAAK,CAACmB,QAAQ,GAAG,CAAC,CAAC"}
1
+ {"version":3,"file":"Text.stories.js","names":["title","Story","childrenMarkdown","props","storyName","args","accent","action","bold","children","headline","level","lighten","small","tag","tiny","underline","upperCase","wide","testId","style","argTypes"],"sources":["../../../src/primitives/Text/Text.stories.jsx"],"sourcesContent":["import React from 'react';\n\nimport { Text } from './Text';\n\nexport default { title: 'Primitives' };\n\nexport const Story = ({ childrenMarkdown, ...props }) => (\n <>\n <Text {...props} />\n <Text {...props} children={childrenMarkdown} />\n </>\n);\n\nStory.storyName = 'Text';\n\nStory.args = {\n accent: false,\n action: false,\n bold: false,\n children: 'children',\n childrenMarkdown:\n '<Text> is **capable** of _interpreting_ and *representing* [markdown](https://www.markdownguide.org/) ~~markup~~ {language}.',\n headline: false,\n level: 3,\n lighten: false,\n small: false,\n tag: 'span',\n tiny: false,\n underline: false,\n upperCase: false,\n wide: false,\n // inherited properties\n testId: 'test-story',\n style: {},\n};\n\nStory.argTypes = {};\n"],"mappings":";;;;;;AAAA;AAEA;AAA8B;AAAA;AAAA;AAAA;AAAA;AAAA,eAEf;EAAEA,KAAK,EAAE;AAAa,CAAC;AAAA;AAE/B,IAAMC,KAAK,GAAG,SAARA,KAAK;EAAA,IAAMC,gBAAgB,QAAhBA,gBAAgB;IAAKC,KAAK;EAAA,oBAChD,yEACE,6BAAC,UAAI,EAAKA,KAAK,CAAI,eACnB,6BAAC,UAAI,eAAKA,KAAK;IAAE,QAAQ,EAAED;EAAiB,GAAG,CAC9C;AAAA,CACJ;AAAC;AAEFD,KAAK,CAACG,SAAS,GAAG,MAAM;AAExBH,KAAK,CAACI,IAAI,GAAG;EACXC,MAAM,EAAE,KAAK;EACbC,MAAM,EAAE,KAAK;EACbC,IAAI,EAAE,KAAK;EACXC,QAAQ,EAAE,UAAU;EACpBP,gBAAgB,EACd,8HAA8H;EAChIQ,QAAQ,EAAE,KAAK;EACfC,KAAK,EAAE,CAAC;EACRC,OAAO,EAAE,KAAK;EACdC,KAAK,EAAE,KAAK;EACZC,GAAG,EAAE,MAAM;EACXC,IAAI,EAAE,KAAK;EACXC,SAAS,EAAE,KAAK;EAChBC,SAAS,EAAE,KAAK;EAChBC,IAAI,EAAE,KAAK;EACX;EACAC,MAAM,EAAE,YAAY;EACpBC,KAAK,EAAE,CAAC;AACV,CAAC;AAEDnB,KAAK,CAACoB,QAAQ,GAAG,CAAC,CAAC"}
@@ -140,6 +140,16 @@ exports[`primitive:<Text> prop:tag 1`] = `
140
140
  </DocumentFragment>
141
141
  `;
142
142
 
143
+ exports[`primitive:<Text> prop:tiny 1`] = `
144
+ <DocumentFragment>
145
+ <span
146
+ class="text tiny"
147
+ >
148
+ Lorem Ipsum
149
+ </span>
150
+ </DocumentFragment>
151
+ `;
152
+
143
153
  exports[`primitive:<Text> prop:underline 1`] = `
144
154
  <DocumentFragment>
145
155
  <span
@@ -26,6 +26,8 @@
26
26
  --mirai-ui-line-height-action: 20px;
27
27
  --mirai-ui-font-size-small: 12px;
28
28
  --mirai-ui-line-height-small: 18px;
29
+ --mirai-ui-font-size-tiny: 10px;
30
+ --mirai-ui-line-height-tiny: 14px;
29
31
  --mirai-ui-text-direction: ltr;
30
32
  --mirai-ui-text-align: left;
31
33
 
@@ -182,8 +184,6 @@
182
184
  --mirai-ui-button-squared: calc(var(--mirai-ui-space-M) * 2);
183
185
 
184
186
  /* Calendar */
185
- --mirai-ui-calendar-caption-font-size: 10px;
186
- --mirai-ui-calendar-caption-line-height: calc(var(--mirai-ui-calendar-caption-font-size) * 1.5);
187
187
  --mirai-ui-calendar-caption-color: var(--mirai-ui-content-light);
188
188
  --mirai-ui-calendar-cell: var(--mirai-ui-space-XL);
189
189
  --mirai-ui-calendar-cell-border-radius: var(--mirai-ui-border-radius);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "1.0.181",
3
+ "version": "1.0.183",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",