@mirai/ui 1.0.72 → 1.0.73

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.
@@ -353,9 +353,7 @@ exports[`component:<InputDate> prop:labels 1`] = `
353
353
  >
354
354
  <span
355
355
  class="text small label text hint"
356
- >
357
- Year
358
- </span>
356
+ />
359
357
  <div
360
358
  class="view row"
361
359
  >
@@ -369,7 +367,7 @@ exports[`component:<InputDate> prop:labels 1`] = `
369
367
  class="input input"
370
368
  maxlength="2"
371
369
  name="name:DD"
372
- placeholder="DD"
370
+ placeholder="Year"
373
371
  type="text"
374
372
  value=""
375
373
  />
@@ -70,7 +70,7 @@ Menu.propTypes = {
70
70
  label: _propTypes.default.string,
71
71
  value: _propTypes.default.oneOfType([_propTypes.default.string, _propTypes.default.number])
72
72
  })),
73
- Template: _propTypes.default.node,
73
+ Template: _propTypes.default.any,
74
74
  title: _propTypes.default.string,
75
75
  visible: _propTypes.default.bool,
76
76
  onPress: _propTypes.default.func,
@@ -1 +1 @@
1
- {"version":3,"file":"Menu.js","names":["Menu","children","options","Template","Option","title","visible","onPress","others","useDevice","isDesktop","renderOptions","map","option","index","undefined","event","value","styles","style","menu","desktop","className","displayName","propTypes","PropTypes","node","arrayOf","shape","disabled","bool","divider","icon","func","label","string","oneOfType","number","onClose"],"sources":["../../../src/components/Menu/Menu.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { styles } from '../../helpers';\nimport { useDevice } from '../../hooks';\nimport { Layer, LayerContent } from '../../primitives';\nimport { Modal } from '../Modal';\nimport style from './Menu.module.css';\nimport { Option } from './Menu.Option';\n\nconst Menu = ({ children, options = [], Template = Option, title, visible, onPress = () => {}, ...others }) => {\n const { isDesktop } = useDevice();\n\n const renderOptions = () =>\n options.map((option = {}, index) => (\n <Template\n data-testid={others['data-testid'] ? `${others['data-testid']}-${index}` : undefined}\n {...option}\n key={index}\n onPress={(event) => onPress(option.value, event)}\n />\n ));\n\n return isDesktop ? (\n <Layer\n forceRender={false}\n {...others}\n className={styles(style.menu, style.desktop, visible && style.visible, others.className)}\n visible={visible}\n >\n {children}\n <LayerContent>{renderOptions()}</LayerContent>\n </Layer>\n ) : (\n <>\n {children}\n <Modal\n title={title}\n visible={visible}\n onClose={(event) => onPress(undefined, event)}\n className={styles(style.menu, others.className)}\n >\n {renderOptions()}\n </Modal>\n </>\n );\n};\n\nMenu.displayName = 'Component:Menu';\n\nMenu.propTypes = {\n children: PropTypes.node,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n children: PropTypes.node,\n disabled: PropTypes.bool,\n divider: PropTypes.bool,\n icon: PropTypes.func,\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n ),\n Template: PropTypes.node,\n title: PropTypes.string,\n visible: PropTypes.bool,\n onPress: PropTypes.func,\n onClose: PropTypes.func,\n};\n\nexport { Menu };\n"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAuC;AAAA;AAAA;AAAA;AAAA;AAEvC,IAAMA,IAAI,GAAG,SAAPA,IAAI,OAAqG;EAAA,IAA/FC,QAAQ,QAARA,QAAQ;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,EAAE;IAAA,qBAAEC,QAAQ;IAARA,QAAQ,8BAAGC,YAAM;IAAEC,KAAK,QAALA,KAAK;IAAEC,OAAO,QAAPA,OAAO;IAAA,oBAAEC,OAAO;IAAPA,QAAO,6BAAG,YAAM,CAAC,CAAC;IAAKC,MAAM;EACtG,iBAAsB,IAAAC,gBAAS,GAAE;IAAzBC,SAAS,cAATA,SAAS;EAEjB,IAAMC,aAAa,GAAG,SAAhBA,aAAa;IAAA,OACjBT,OAAO,CAACU,GAAG,CAAC;MAAA,IAACC,MAAM,uEAAG,CAAC,CAAC;MAAA,IAAEC,KAAK;MAAA,oBAC7B,6BAAC,QAAQ;QACP,eAAaN,MAAM,CAAC,aAAa,CAAC,a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BC,KAAK,EAAET,kBAAS,CAACU,MAAM;IACvBlB,KAAK,EAAEQ,kBAAS,CAACW,SAAS,CAAC,CAACX,kBAAS,CAACU,MAAM,EAAEV,kBAAS,CAACY,MAAM,CAAC;EACjE,CAAC,CAAC,CACH;EACDlC,QAAQ,EAAEsB,kBAAS,CAACC,IAAI;EACxBrB,KAAK,EAAEoB,kBAAS,CAACU,MAAM;EACvB7B,OAAO,EAAEmB,kBAAS,CAACK,IAAI;EACvBvB,OAAO,EAAEkB,kBAAS,CAACQ,IAAI;EACvBK,OAAO,EAAEb,kBAAS,CAACQ;AACrB,CAAC"}
1
+ {"version":3,"file":"Menu.js","names":["Menu","children","options","Template","Option","title","visible","onPress","others","useDevice","isDesktop","renderOptions","map","option","index","undefined","event","value","styles","style","menu","desktop","className","displayName","propTypes","PropTypes","node","arrayOf","shape","disabled","bool","divider","icon","func","label","string","oneOfType","number","any","onClose"],"sources":["../../../src/components/Menu/Menu.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { styles } from '../../helpers';\nimport { useDevice } from '../../hooks';\nimport { Layer, LayerContent } from '../../primitives';\nimport { Modal } from '../Modal';\nimport style from './Menu.module.css';\nimport { Option } from './Menu.Option';\n\nconst Menu = ({ children, options = [], Template = Option, title, visible, onPress = () => {}, ...others }) => {\n const { isDesktop } = useDevice();\n\n const renderOptions = () =>\n options.map((option = {}, index) => (\n <Template\n data-testid={others['data-testid'] ? `${others['data-testid']}-${index}` : undefined}\n {...option}\n key={index}\n onPress={(event) => onPress(option.value, event)}\n />\n ));\n\n return isDesktop ? (\n <Layer\n forceRender={false}\n {...others}\n className={styles(style.menu, style.desktop, visible && style.visible, others.className)}\n visible={visible}\n >\n {children}\n <LayerContent>{renderOptions()}</LayerContent>\n </Layer>\n ) : (\n <>\n {children}\n <Modal\n title={title}\n visible={visible}\n onClose={(event) => onPress(undefined, event)}\n className={styles(style.menu, others.className)}\n >\n {renderOptions()}\n </Modal>\n </>\n );\n};\n\nMenu.displayName = 'Component:Menu';\n\nMenu.propTypes = {\n children: PropTypes.node,\n options: PropTypes.arrayOf(\n PropTypes.shape({\n children: PropTypes.node,\n disabled: PropTypes.bool,\n divider: PropTypes.bool,\n icon: PropTypes.func,\n label: PropTypes.string,\n value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),\n }),\n ),\n Template: PropTypes.any,\n title: PropTypes.string,\n visible: PropTypes.bool,\n onPress: PropTypes.func,\n onClose: PropTypes.func,\n};\n\nexport { Menu };\n"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AACA;AACA;AACA;AACA;AAAuC;AAAA;AAAA;AAAA;AAAA;AAEvC,IAAMA,IAAI,GAAG,SAAPA,IAAI,OAAqG;EAAA,IAA/FC,QAAQ,QAARA,QAAQ;IAAA,oBAAEC,OAAO;IAAPA,OAAO,6BAAG,EAAE;IAAA,qBAAEC,QAAQ;IAARA,QAAQ,8BAAGC,YAAM;IAAEC,KAAK,QAALA,KAAK;IAAEC,OAAO,QAAPA,OAAO;IAAA,oBAAEC,OAAO;IAAPA,QAAO,6BAAG,YAAM,CAAC,CAAC;IAAKC,MAAM;EACtG,iBAAsB,IAAAC,gBAAS,GAAE;IAAzBC,SAAS,cAATA,SAAS;EAEjB,IAAMC,aAAa,GAAG,SAAhBA,aAAa;IAAA,OACjBT,OAAO,CAACU,GAAG,CAAC;MAAA,IAACC,MAAM,uEAAG,CAAC,CAAC;MAAA,IAAEC,KAAK;MAAA,oBAC7B,6BAAC,QAAQ;QACP,eAAaN,MAAM,CAAC,aAAa,CAAC,aAAMA,MAAM,CAAC,aAAa,CAAC,cAAIM,KAAK,IAAKC;MAAU,GACjFF,MAAM;QACV,GAAG,EAAEC,KAAM;QACX,OAAO,EAAE,iBAACE,KAAK;UAAA,OAAKT,QAAO,CAACM,MAAM,CAACI,KAAK,EAAED,KAAK,CAAC;QAAA;MAAC,GACjD;IAAA,CACH,CAAC;EAAA;EAEJ,OAAON,SAAS,gBACd,6BAAC,iBA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EAAEmB,kBAAS,CAACK,IAAI;EACvBvB,OAAO,EAAEkB,kBAAS,CAACQ,IAAI;EACvBM,OAAO,EAAEd,kBAAS,CAACQ;AACrB,CAAC"}
@@ -52,7 +52,7 @@ var Notification = function Notification(_ref) {
52
52
  exports.Notification = Notification;
53
53
  Notification.displayName = 'Component:Notification';
54
54
  Notification.propTypes = {
55
- children: _propTypes.default.string.isRequired,
55
+ children: _propTypes.default.any.isRequired,
56
56
  error: _propTypes.default.bool,
57
57
  inline: _propTypes.default.bool,
58
58
  large: _propTypes.default.bool,
@@ -1 +1 @@
1
- {"version":3,"file":"Notification.js","names":["Notification","children","error","inline","large","small","success","warning","onClose","others","styles","style","notification","undefined","outlined","className","getIconState","icon","text","pressable","ICON","CLOSE","displayName","propTypes","PropTypes","string","isRequired","bool","func"],"sources":["../../../src/components/Notification/Notification.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { getIconState, styles } from '../../helpers';\nimport { Icon, ICON, Pressable, Text, View } from '../../primitives';\nimport style from './Notification.module.css';\n\nconst Notification = ({ children, error, inline = false, large, small, success, warning, onClose, ...others }) => (\n <View\n {...others}\n row\n className={styles(\n style.notification,\n error ? style.error : warning ? style.warning : success ? style.success : undefined,\n inline ? style.inline : style.outlined,\n inline && style.inline,\n large ? style.large : small && style.small,\n others.className,\n )}\n >\n <Icon\n headline={large}\n level={large ? 1 : undefined}\n paragraph={small}\n value={getIconState({ error, success, warning })}\n className={style.icon}\n />\n <Text\n small={small}\n className={styles(\n style.text,\n error ? style.error : warning ? style.warning : success ? style.success : undefined,\n )}\n >\n {children}\n </Text>\n {!large && onClose && (\n <Pressable className={styles(style.pressable, style.icon)} onPress={onClose}>\n <Icon value={ICON.CLOSE} paragraph={small} />\n </Pressable>\n )}\n </View>\n);\n\nNotification.displayName = 'Component:Notification';\n\nNotification.propTypes = {\n children: PropTypes.string.isRequired,\n error: PropTypes.bool,\n inline: PropTypes.bool,\n large: PropTypes.bool,\n small: P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EZ,KAAM;IACb,SAAS,EAAE,IAAAK,eAAM,EACfC,2BAAK,CAACO,IAAI,EACVhB,KAAK,GAAGS,2BAAK,CAACT,KAAK,GAAGK,OAAO,GAAGI,2BAAK,CAACJ,OAAO,GAAGD,OAAO,GAAGK,2BAAK,CAACL,OAAO,GAAGO,SAAS;EACnF,GAEDZ,QAAQ,CACJ,EACN,CAACG,KAAK,IAAII,OAAO,iBAChB,6BAAC,qBAAS;IAAC,SAAS,EAAE,IAAAE,eAAM,EAACC,2BAAK,CAACQ,SAAS,EAAER,2BAAK,CAACM,IAAI,CAAE;IAAC,OAAO,EAAET;EAAQ,gBAC1E,6BAAC,gBAAI;IAAC,KAAK,EAAEY,gBAAI,CAACC,KAAM;IAAC,SAAS,EAAEhB;EAAM,EAAG,CAEhD,CACI;AAAA,CACR;AAAC;AAEFL,YAAY,CAACsB,WAAW,GAAG,wBAAwB;AAEnDtB,YAAY,CAACuB,SAAS,GAAG;EACvBtB,QAAQ,EAAEuB,kBAAS,CAACC,MAAM,CAACC,UAAU;EACrCxB,KAAK,EAAEsB,kBAAS,CAACG,IAAI;EACrBxB,MAAM,EAAEqB,kBAAS,CAACG,IAAI;EACtBvB,KAAK,EAAEoB,kBAAS,CAACG,IAAI;EACrBtB,KAAK,EAAEmB,kBAAS,CAACG,IAAI;EACrBrB,OAAO,EAAEkB,kBAAS,CAACG,IAAI;EACvBpB,OAAO,EAAEiB,kBAAS,CAACG,IAAI;EACvBnB,OAAO,EAAEgB,kBAAS,CAACI;AACrB,CAAC"}
1
+ {"version":3,"file":"Notification.js","names":["Notification","children","error","inline","large","small","success","warning","onClose","others","styles","style","notification","undefined","outlined","className","getIconState","icon","text","pressable","ICON","CLOSE","displayName","propTypes","PropTypes","any","isRequired","bool","func"],"sources":["../../../src/components/Notification/Notification.jsx"],"sourcesContent":["import PropTypes from 'prop-types';\nimport React from 'react';\n\nimport { getIconState, styles } from '../../helpers';\nimport { Icon, ICON, Pressable, Text, View } from '../../primitives';\nimport style from './Notification.module.css';\n\nconst Notification = ({ children, error, inline = false, large, small, success, warning, onClose, ...others }) => (\n <View\n {...others}\n row\n className={styles(\n style.notification,\n error ? style.error : warning ? style.warning : success ? style.success : undefined,\n inline ? style.inline : style.outlined,\n inline && style.inline,\n large ? style.large : small && style.small,\n others.className,\n )}\n >\n <Icon\n headline={large}\n level={large ? 1 : undefined}\n paragraph={small}\n value={getIconState({ error, success, warning })}\n className={style.icon}\n />\n <Text\n small={small}\n className={styles(\n style.text,\n error ? style.error : warning ? style.warning : success ? style.success : undefined,\n )}\n >\n {children}\n </Text>\n {!large && onClose && (\n <Pressable className={styles(style.pressable, style.icon)} onPress={onClose}>\n <Icon value={ICON.CLOSE} paragraph={small} />\n </Pressable>\n )}\n </View>\n);\n\nNotification.displayName = 'Component:Notification';\n\nNotification.propTypes = {\n children: PropTypes.any.isRequired,\n error: PropTypes.bool,\n inline: PropTypes.bool,\n large: PropTypes.bool,\n small: PropTypes.bool,\n success: PropTypes.bool,\n warning: PropTypes.bool,\n onClose: PropTypes.func,\n};\n\nexport { Notification };\n"],"mappings":";;;;;;AAAA;AACA;AAEA;AACA;AACA;AAA8C;AAAA;AAAA;AAAA;AAAA;AAE9C,IAAMA,YAAY,GAAG,SAAfA,YAAY;EAAA,IAAMC,QAAQ,QAARA,QAAQ;IAAEC,KAAK,QAALA,KAAK;IAAA,mBAAEC,MAAM;IAANA,MAAM,4BAAG,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,KAAK,QAALA,KAAK;IAAEC,OAAO,QAAPA,OAAO;IAAEC,OAAO,QAAPA,OAAO;IAAEC,OAAO,QAAPA,OAAO;IAAKC,MAAM;EAAA,oBACzG,6BAAC,gBAAI,eACCA,MAAM;IACV,GAAG;IACH,SAAS,EAAE,IAAAC,eAAM,EACfC,2BAAK,CAACC,YAAY,EAClBV,KAAK,GAAGS,2BAAK,CAACT,KAAK,GAAGK,OAAO,GAAGI,2BAAK,CAACJ,OAAO,GAAGD,OAAO,GAAG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U;EAClCxB,KAAK,EAAEsB,kBAAS,CAACG,IAAI;EACrBxB,MAAM,EAAEqB,kBAAS,CAACG,IAAI;EACtBvB,KAAK,EAAEoB,kBAAS,CAACG,IAAI;EACrBtB,KAAK,EAAEmB,kBAAS,CAACG,IAAI;EACrBrB,OAAO,EAAEkB,kBAAS,CAACG,IAAI;EACvBpB,OAAO,EAAEiB,kBAAS,CAACG,IAAI;EACvBnB,OAAO,EAAEgB,kBAAS,CAACI;AACrB,CAAC"}
@@ -4,8 +4,233 @@ exports[`primitive:<Icon> inherit:className 1`] = `
4
4
  <DocumentFragment>
5
5
  <span
6
6
  class="icon headline-3 mirai"
7
- name="Left"
8
- />
7
+ >
8
+ <svg
9
+ fill="currentColor"
10
+ height="1em"
11
+ stroke="currentColor"
12
+ stroke-width="0"
13
+ viewBox="0 0 24 24"
14
+ width="1em"
15
+ xmlns="http://www.w3.org/2000/svg"
16
+ >
17
+ <path
18
+ d="M0 0h24v24H0V0z"
19
+ fill="none"
20
+ />
21
+ <path
22
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
23
+ />
24
+ </svg>
25
+ </span>
26
+ </DocumentFragment>
27
+ `;
28
+
29
+ exports[`primitive:<Icon> prop:action 1`] = `
30
+ <DocumentFragment>
31
+ <span
32
+ class="icon action"
33
+ >
34
+ <svg
35
+ fill="currentColor"
36
+ height="1em"
37
+ stroke="currentColor"
38
+ stroke-width="0"
39
+ viewBox="0 0 24 24"
40
+ width="1em"
41
+ xmlns="http://www.w3.org/2000/svg"
42
+ >
43
+ <path
44
+ d="M0 0h24v24H0V0z"
45
+ fill="none"
46
+ />
47
+ <path
48
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
49
+ />
50
+ </svg>
51
+ </span>
52
+ </DocumentFragment>
53
+ `;
54
+
55
+ exports[`primitive:<Icon> prop:headline & level:1 1`] = `
56
+ <DocumentFragment>
57
+ <span
58
+ class="icon headline-1"
59
+ >
60
+ <svg
61
+ fill="currentColor"
62
+ height="1em"
63
+ stroke="currentColor"
64
+ stroke-width="0"
65
+ viewBox="0 0 24 24"
66
+ width="1em"
67
+ xmlns="http://www.w3.org/2000/svg"
68
+ >
69
+ <path
70
+ d="M0 0h24v24H0V0z"
71
+ fill="none"
72
+ />
73
+ <path
74
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
75
+ />
76
+ </svg>
77
+ </span>
78
+ </DocumentFragment>
79
+ `;
80
+
81
+ exports[`primitive:<Icon> prop:headline & level:2 1`] = `
82
+ <DocumentFragment>
83
+ <span
84
+ class="icon headline-2"
85
+ >
86
+ <svg
87
+ fill="currentColor"
88
+ height="1em"
89
+ stroke="currentColor"
90
+ stroke-width="0"
91
+ viewBox="0 0 24 24"
92
+ width="1em"
93
+ xmlns="http://www.w3.org/2000/svg"
94
+ >
95
+ <path
96
+ d="M0 0h24v24H0V0z"
97
+ fill="none"
98
+ />
99
+ <path
100
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
101
+ />
102
+ </svg>
103
+ </span>
104
+ </DocumentFragment>
105
+ `;
106
+
107
+ exports[`primitive:<Icon> prop:headline & level:3 1`] = `
108
+ <DocumentFragment>
109
+ <span
110
+ class="icon headline-3"
111
+ >
112
+ <svg
113
+ fill="currentColor"
114
+ height="1em"
115
+ stroke="currentColor"
116
+ stroke-width="0"
117
+ viewBox="0 0 24 24"
118
+ width="1em"
119
+ xmlns="http://www.w3.org/2000/svg"
120
+ >
121
+ <path
122
+ d="M0 0h24v24H0V0z"
123
+ fill="none"
124
+ />
125
+ <path
126
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
127
+ />
128
+ </svg>
129
+ </span>
130
+ </DocumentFragment>
131
+ `;
132
+
133
+ exports[`primitive:<Icon> prop:headline & level:4 1`] = `
134
+ <DocumentFragment>
135
+ <span
136
+ class="icon headline-4"
137
+ >
138
+ <svg
139
+ fill="currentColor"
140
+ height="1em"
141
+ stroke="currentColor"
142
+ stroke-width="0"
143
+ viewBox="0 0 24 24"
144
+ width="1em"
145
+ xmlns="http://www.w3.org/2000/svg"
146
+ >
147
+ <path
148
+ d="M0 0h24v24H0V0z"
149
+ fill="none"
150
+ />
151
+ <path
152
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
153
+ />
154
+ </svg>
155
+ </span>
156
+ </DocumentFragment>
157
+ `;
158
+
159
+ exports[`primitive:<Icon> prop:headline 1`] = `
160
+ <DocumentFragment>
161
+ <span
162
+ class="icon headline-3"
163
+ >
164
+ <svg
165
+ fill="currentColor"
166
+ height="1em"
167
+ stroke="currentColor"
168
+ stroke-width="0"
169
+ viewBox="0 0 24 24"
170
+ width="1em"
171
+ xmlns="http://www.w3.org/2000/svg"
172
+ >
173
+ <path
174
+ d="M0 0h24v24H0V0z"
175
+ fill="none"
176
+ />
177
+ <path
178
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
179
+ />
180
+ </svg>
181
+ </span>
182
+ </DocumentFragment>
183
+ `;
184
+
185
+ exports[`primitive:<Icon> prop:paragraph 1`] = `
186
+ <DocumentFragment>
187
+ <span
188
+ class="icon paragraph"
189
+ >
190
+ <svg
191
+ fill="currentColor"
192
+ height="1em"
193
+ stroke="currentColor"
194
+ stroke-width="0"
195
+ viewBox="0 0 24 24"
196
+ width="1em"
197
+ xmlns="http://www.w3.org/2000/svg"
198
+ >
199
+ <path
200
+ d="M0 0h24v24H0V0z"
201
+ fill="none"
202
+ />
203
+ <path
204
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
205
+ />
206
+ </svg>
207
+ </span>
208
+ </DocumentFragment>
209
+ `;
210
+
211
+ exports[`primitive:<Icon> prop:small 1`] = `
212
+ <DocumentFragment>
213
+ <span
214
+ class="icon small"
215
+ >
216
+ <svg
217
+ fill="currentColor"
218
+ height="1em"
219
+ stroke="currentColor"
220
+ stroke-width="0"
221
+ viewBox="0 0 24 24"
222
+ width="1em"
223
+ xmlns="http://www.w3.org/2000/svg"
224
+ >
225
+ <path
226
+ d="M0 0h24v24H0V0z"
227
+ fill="none"
228
+ />
229
+ <path
230
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
231
+ />
232
+ </svg>
233
+ </span>
9
234
  </DocumentFragment>
10
235
  `;
11
236
 
@@ -13,7 +238,6 @@ exports[`primitive:<Icon> prop:value prop:value (ADD) 1`] = `
13
238
  <DocumentFragment>
14
239
  <span
15
240
  class="icon headline-3"
16
- name="Left"
17
241
  >
18
242
  <svg
19
243
  fill="currentColor"
@@ -40,7 +264,6 @@ exports[`primitive:<Icon> prop:value prop:value (CHECK) 1`] = `
40
264
  <DocumentFragment>
41
265
  <span
42
266
  class="icon headline-3"
43
- name="Left"
44
267
  >
45
268
  <svg
46
269
  fill="currentColor"
@@ -67,7 +290,6 @@ exports[`primitive:<Icon> prop:value prop:value (CLOSE) 1`] = `
67
290
  <DocumentFragment>
68
291
  <span
69
292
  class="icon headline-3"
70
- name="Left"
71
293
  >
72
294
  <svg
73
295
  fill="currentColor"
@@ -94,7 +316,6 @@ exports[`primitive:<Icon> prop:value prop:value (DOWN) 1`] = `
94
316
  <DocumentFragment>
95
317
  <span
96
318
  class="icon headline-3"
97
- name="Left"
98
319
  >
99
320
  <svg
100
321
  fill="currentColor"
@@ -121,7 +342,6 @@ exports[`primitive:<Icon> prop:value prop:value (ERROR) 1`] = `
121
342
  <DocumentFragment>
122
343
  <span
123
344
  class="icon headline-3"
124
- name="Left"
125
345
  >
126
346
  <svg
127
347
  fill="currentColor"
@@ -148,7 +368,6 @@ exports[`primitive:<Icon> prop:value prop:value (EXPAND_LESS) 1`] = `
148
368
  <DocumentFragment>
149
369
  <span
150
370
  class="icon headline-3"
151
- name="Left"
152
371
  >
153
372
  <svg
154
373
  fill="currentColor"
@@ -175,7 +394,6 @@ exports[`primitive:<Icon> prop:value prop:value (EXPAND_MORE) 1`] = `
175
394
  <DocumentFragment>
176
395
  <span
177
396
  class="icon headline-3"
178
- name="Left"
179
397
  >
180
398
  <svg
181
399
  fill="currentColor"
@@ -203,7 +421,6 @@ exports[`primitive:<Icon> prop:value prop:value (EYE_CLOSE) 1`] = `
203
421
  <DocumentFragment>
204
422
  <span
205
423
  class="icon headline-3"
206
- name="Left"
207
424
  >
208
425
  <svg
209
426
  fill="currentColor"
@@ -230,7 +447,6 @@ exports[`primitive:<Icon> prop:value prop:value (EYE_OPEN) 1`] = `
230
447
  <DocumentFragment>
231
448
  <span
232
449
  class="icon headline-3"
233
- name="Left"
234
450
  >
235
451
  <svg
236
452
  fill="currentColor"
@@ -257,7 +473,6 @@ exports[`primitive:<Icon> prop:value prop:value (INFO) 1`] = `
257
473
  <DocumentFragment>
258
474
  <span
259
475
  class="icon headline-3"
260
- name="Left"
261
476
  >
262
477
  <svg
263
478
  fill="currentColor"
@@ -284,7 +499,6 @@ exports[`primitive:<Icon> prop:value prop:value (LEFT) 1`] = `
284
499
  <DocumentFragment>
285
500
  <span
286
501
  class="icon headline-3"
287
- name="Left"
288
502
  >
289
503
  <svg
290
504
  fill="currentColor"
@@ -311,7 +525,6 @@ exports[`primitive:<Icon> prop:value prop:value (REMOVE) 1`] = `
311
525
  <DocumentFragment>
312
526
  <span
313
527
  class="icon headline-3"
314
- name="Left"
315
528
  >
316
529
  <svg
317
530
  fill="currentColor"
@@ -338,7 +551,6 @@ exports[`primitive:<Icon> prop:value prop:value (RIGHT) 1`] = `
338
551
  <DocumentFragment>
339
552
  <span
340
553
  class="icon headline-3"
341
- name="Left"
342
554
  >
343
555
  <svg
344
556
  fill="currentColor"
@@ -365,7 +577,6 @@ exports[`primitive:<Icon> prop:value prop:value (SEARCH) 1`] = `
365
577
  <DocumentFragment>
366
578
  <span
367
579
  class="icon headline-3"
368
- name="Left"
369
580
  >
370
581
  <svg
371
582
  fill="currentColor"
@@ -392,7 +603,6 @@ exports[`primitive:<Icon> prop:value prop:value (SUCCESS) 1`] = `
392
603
  <DocumentFragment>
393
604
  <span
394
605
  class="icon headline-3"
395
- name="Left"
396
606
  >
397
607
  <svg
398
608
  fill="currentColor"
@@ -419,7 +629,6 @@ exports[`primitive:<Icon> prop:value prop:value (UP) 1`] = `
419
629
  <DocumentFragment>
420
630
  <span
421
631
  class="icon headline-3"
422
- name="Left"
423
632
  >
424
633
  <svg
425
634
  fill="currentColor"
@@ -446,7 +655,6 @@ exports[`primitive:<Icon> prop:value prop:value (WARNING) 1`] = `
446
655
  <DocumentFragment>
447
656
  <span
448
657
  class="icon headline-3"
449
- name="Left"
450
658
  >
451
659
  <svg
452
660
  fill="currentColor"
@@ -469,8 +677,25 @@ exports[`primitive:<Icon> renders 1`] = `
469
677
  <DocumentFragment>
470
678
  <span
471
679
  class="icon headline-3"
472
- name="Left"
473
- />
680
+ >
681
+ <svg
682
+ fill="currentColor"
683
+ height="1em"
684
+ stroke="currentColor"
685
+ stroke-width="0"
686
+ viewBox="0 0 24 24"
687
+ width="1em"
688
+ xmlns="http://www.w3.org/2000/svg"
689
+ >
690
+ <path
691
+ d="M0 0h24v24H0V0z"
692
+ fill="none"
693
+ />
694
+ <path
695
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
696
+ />
697
+ </svg>
698
+ </span>
474
699
  </DocumentFragment>
475
700
  `;
476
701
 
@@ -479,7 +704,24 @@ exports[`primitive:<Icon> testID 1`] = `
479
704
  <span
480
705
  class="icon headline-3"
481
706
  data-testid="mirai"
482
- name="Left"
483
- />
707
+ >
708
+ <svg
709
+ fill="currentColor"
710
+ height="1em"
711
+ stroke="currentColor"
712
+ stroke-width="0"
713
+ viewBox="0 0 24 24"
714
+ width="1em"
715
+ xmlns="http://www.w3.org/2000/svg"
716
+ >
717
+ <path
718
+ d="M0 0h24v24H0V0z"
719
+ fill="none"
720
+ />
721
+ <path
722
+ d="M20 11H7.83l5.59-5.59L12 4l-8 8 8 8 1.41-1.41L7.83 13H20v-2z"
723
+ />
724
+ </svg>
725
+ </span>
484
726
  </DocumentFragment>
485
727
  `;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirai/ui",
3
- "version": "1.0.72",
3
+ "version": "1.0.73",
4
4
  "repository": "git@gitlab.com:miraicorp/dev/frontend/ui.git",
5
5
  "author": "JΛVI <hello@soyjavi.com>",
6
6
  "license": "MIT",