maru_design2 2.4.2 → 2.4.3
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/.claude/settings.local.json +7 -0
- package/.idea/MaruDesign2.iml +13 -0
- package/.idea/codeStyles/Project.xml +77 -0
- package/.idea/codeStyles/codeStyleConfig.xml +5 -0
- package/.idea/inspectionProfiles/Project_Default.xml +94 -0
- package/.idea/jsLinters/eslint.xml +6 -0
- package/.idea/material_theme_project_new.xml +12 -0
- package/.idea/modules.xml +8 -0
- package/.idea/prettier.xml +8 -0
- package/.idea/vcs.xml +6 -0
- package/.idea/watcherTasks.xml +4 -0
- package/CHANGELOG.md +9 -0
- package/dist/components/atoms/button/Button.d.ts +33 -30
- package/dist/components/atoms/button/index.d.ts +1 -1
- package/dist/components/atoms/checkbox/Checkbox.d.ts +21 -21
- package/dist/components/atoms/checkbox/index.d.ts +1 -1
- package/dist/components/atoms/chip/Chip.d.ts +29 -25
- package/dist/components/atoms/chip/index.d.ts +1 -1
- package/dist/components/atoms/code/Code.d.ts +7 -0
- package/dist/components/atoms/code/index.d.ts +1 -0
- package/dist/components/atoms/icon/Icon.d.ts +16 -17
- package/dist/components/atoms/icon/iconmap.d.ts +421 -172
- package/dist/components/atoms/icon/index.d.ts +2 -2
- package/dist/components/atoms/input/Input.d.ts +43 -31
- package/dist/components/atoms/input/index.d.ts +1 -1
- package/dist/components/atoms/popover/Popover.d.ts +19 -19
- package/dist/components/atoms/popover/index.d.ts +1 -1
- package/dist/components/atoms/radio/Radio.d.ts +14 -12
- package/dist/components/atoms/radio/index.d.ts +1 -1
- package/dist/components/atoms/skeleton/Contents.d.ts +1 -0
- package/dist/components/atoms/skeleton/Skeleton.d.ts +6 -0
- package/dist/components/atoms/skeleton/index.d.ts +1 -0
- package/dist/components/atoms/slider/Slider.d.ts +31 -0
- package/dist/components/atoms/slider/index.d.ts +1 -0
- package/dist/components/atoms/textarea/Textarea.d.ts +38 -0
- package/dist/components/atoms/textarea/index.d.ts +1 -0
- package/dist/components/atoms/toggle/Toggle.d.ts +20 -20
- package/dist/components/atoms/toggle/index.d.ts +1 -1
- package/dist/components/atoms/tooltip/Tooltip.d.ts +29 -22
- package/dist/components/atoms/tooltip/index.d.ts +1 -1
- package/dist/components/molecules/calendar/Calendar.d.ts +27 -0
- package/dist/components/molecules/calendar/DatePickerHeader.d.ts +3 -0
- package/dist/components/molecules/calendar/DatePickerWrapper.d.ts +9 -0
- package/dist/components/molecules/calendar/index.d.ts +1 -0
- package/dist/components/molecules/dropdown/Dropdown.d.ts +90 -77
- package/dist/components/molecules/dropdown/index.d.ts +1 -1
- package/dist/components/molecules/dropdown/menu/MenuItem.d.ts +16 -0
- package/dist/components/molecules/dropdown/menu/index.d.ts +31 -0
- package/dist/components/molecules/dropdown/{toggles → toggleButton}/Arrow.d.ts +9 -8
- package/dist/components/molecules/dropdown/toggleButton/Clear.d.ts +6 -0
- package/dist/components/molecules/dropdown/toggleButton/index.d.ts +19 -0
- package/dist/components/molecules/modal/Modal.d.ts +48 -50
- package/dist/components/molecules/modal/index.d.ts +1 -1
- package/dist/components/molecules/multiSelectDropdown/MultiSelectDropdown.d.ts +76 -0
- package/dist/components/molecules/multiSelectDropdown/index.d.ts +1 -0
- package/dist/components/molecules/multiSelectDropdown/menu/MenuItem.d.ts +12 -0
- package/dist/components/molecules/multiSelectDropdown/menu/index.d.ts +21 -0
- package/dist/components/molecules/multiSelectDropdown/toggleButton/Arrow.d.ts +9 -0
- package/dist/components/molecules/multiSelectDropdown/toggleButton/Clear.d.ts +6 -0
- package/dist/components/molecules/multiSelectDropdown/toggleButton/index.d.ts +17 -0
- package/dist/components/molecules/pagination/Pagination.d.ts +22 -26
- package/dist/components/molecules/pagination/index.d.ts +1 -1
- package/dist/components/molecules/searchInput/SearchInput.d.ts +34 -0
- package/dist/components/molecules/searchInput/filter/FilterPopover.d.ts +16 -0
- package/dist/components/molecules/searchInput/filter/index.d.ts +17 -0
- package/dist/components/molecules/searchInput/index.d.ts +1 -0
- package/dist/components/molecules/table/Colgroup.d.ts +9 -9
- package/dist/components/molecules/table/Table.d.ts +3 -3
- package/dist/components/molecules/table/body/BinButtonTd.d.ts +7 -0
- package/dist/components/molecules/table/body/ChartButtonTd.d.ts +8 -0
- package/dist/components/molecules/table/body/CheckboxTd.d.ts +6 -7
- package/dist/components/molecules/table/body/EmptyTr.d.ts +8 -0
- package/dist/components/molecules/table/body/KebabMenuTd.d.ts +7 -7
- package/dist/components/molecules/table/body/RadioTd.d.ts +6 -0
- package/dist/components/molecules/table/body/Tr.d.ts +7 -0
- package/dist/components/molecules/table/body/index.d.ts +7 -0
- package/dist/components/molecules/table/header/FilterButtonsTh.d.ts +7 -0
- package/dist/components/molecules/table/header/FilterTh.d.ts +8 -0
- package/dist/components/molecules/table/header/SortableColumn.d.ts +15 -0
- package/dist/components/molecules/table/header/index.d.ts +17 -0
- package/dist/components/molecules/table/index.d.ts +1 -1
- package/dist/components/molecules/table/types.d.ts +125 -92
- package/dist/components/molecules/toast/Details.d.ts +6 -0
- package/dist/components/molecules/toast/Toast.d.ts +31 -0
- package/dist/components/molecules/toast/ToastContext.d.ts +15 -0
- package/dist/components/molecules/toast/ToastStyle.d.ts +18 -0
- package/dist/components/molecules/toast/index.d.ts +1 -0
- package/dist/components/molecules/toast/types.d.ts +4 -0
- package/dist/components/styleProvider/StyleProvider.d.ts +10 -10
- package/dist/components/styleProvider/index.d.ts +1 -1
- package/dist/enums/color.d.ts +14 -12
- package/dist/enums/direction.d.ts +2 -2
- package/dist/enums/gap.d.ts +4 -2
- package/dist/enums/size.d.ts +8 -10
- package/dist/enums/type.d.ts +4 -4
- package/dist/enums/variant.d.ts +8 -6
- package/dist/hooks/useButtonState.d.ts +16 -16
- package/dist/hooks/useColor.d.ts +4 -4
- package/dist/hooks/useCombineRef.d.ts +11 -11
- package/dist/hooks/useCreatePortal.d.ts +7 -7
- package/dist/hooks/useId.d.ts +7 -7
- package/dist/index.d.ts +22 -14
- package/dist/index.js +89488 -4293
- package/dist/utils/copy.d.ts +6 -0
- package/dist/utils/format.d.ts +2 -2
- package/dist/utils/highlight.d.ts +1 -3
- package/package.json +74 -70
- package/dist/components/molecules/dropdown/Menu.d.ts +0 -19
- package/dist/components/molecules/dropdown/toggles/Button.d.ts +0 -24
- package/dist/components/molecules/dropdown/toggles/Clear.d.ts +0 -8
- package/dist/components/molecules/dropdown/toggles/Input.d.ts +0 -24
- package/dist/components/molecules/table/body/ExpandingRow.d.ts +0 -9
- package/dist/components/molecules/table/body/TBody.d.ts +0 -28
- package/dist/components/molecules/table/body/TBodyEmptyContent.d.ts +0 -14
- package/dist/components/molecules/table/header/THead.d.ts +0 -12
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<module type="WEB_MODULE" version="4">
|
|
3
|
+
<component name="NewModuleRootManager">
|
|
4
|
+
<content url="file://$MODULE_DIR$">
|
|
5
|
+
<excludeFolder url="file://$MODULE_DIR$/.tmp" />
|
|
6
|
+
<excludeFolder url="file://$MODULE_DIR$/temp" />
|
|
7
|
+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
|
|
8
|
+
<excludeFolder url="file://$MODULE_DIR$/src/assets" />
|
|
9
|
+
</content>
|
|
10
|
+
<orderEntry type="inheritedJdk" />
|
|
11
|
+
<orderEntry type="sourceFolder" forTests="false" />
|
|
12
|
+
</component>
|
|
13
|
+
</module>
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
<component name="ProjectCodeStyleConfiguration">
|
|
2
|
+
<code_scheme name="Project" version="173">
|
|
3
|
+
<HTMLCodeStyleSettings>
|
|
4
|
+
<option name="HTML_SPACE_INSIDE_EMPTY_TAG" value="true" />
|
|
5
|
+
</HTMLCodeStyleSettings>
|
|
6
|
+
<JSCodeStyleSettings version="0">
|
|
7
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
8
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
9
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
10
|
+
<option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
|
|
11
|
+
<option name="VAR_DECLARATION_WRAP" value="2" />
|
|
12
|
+
<option name="OBJECT_LITERAL_WRAP" value="2" />
|
|
13
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
14
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
15
|
+
</JSCodeStyleSettings>
|
|
16
|
+
<TypeScriptCodeStyleSettings version="0">
|
|
17
|
+
<option name="FORCE_SEMICOLON_STYLE" value="true" />
|
|
18
|
+
<option name="USE_DOUBLE_QUOTES" value="false" />
|
|
19
|
+
<option name="FORCE_QUOTE_STYlE" value="true" />
|
|
20
|
+
<option name="ENFORCE_TRAILING_COMMA" value="WhenMultiline" />
|
|
21
|
+
<option name="VAR_DECLARATION_WRAP" value="2" />
|
|
22
|
+
<option name="OBJECT_LITERAL_WRAP" value="2" />
|
|
23
|
+
<option name="SPACES_WITHIN_OBJECT_LITERAL_BRACES" value="true" />
|
|
24
|
+
<option name="SPACES_WITHIN_IMPORTS" value="true" />
|
|
25
|
+
</TypeScriptCodeStyleSettings>
|
|
26
|
+
<VueCodeStyleSettings>
|
|
27
|
+
<option name="INTERPOLATION_NEW_LINE_AFTER_START_DELIMITER" value="false" />
|
|
28
|
+
<option name="INTERPOLATION_NEW_LINE_BEFORE_END_DELIMITER" value="false" />
|
|
29
|
+
</VueCodeStyleSettings>
|
|
30
|
+
<codeStyleSettings language="HTML">
|
|
31
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
32
|
+
<indentOptions>
|
|
33
|
+
<option name="INDENT_SIZE" value="2" />
|
|
34
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
35
|
+
<option name="TAB_SIZE" value="2" />
|
|
36
|
+
</indentOptions>
|
|
37
|
+
</codeStyleSettings>
|
|
38
|
+
<codeStyleSettings language="JavaScript">
|
|
39
|
+
<option name="RIGHT_MARGIN" value="100" />
|
|
40
|
+
<option name="BLOCK_COMMENT_ADD_SPACE" value="true" />
|
|
41
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
42
|
+
<option name="METHOD_CALL_CHAIN_WRAP" value="2" />
|
|
43
|
+
<option name="IF_BRACE_FORCE" value="1" />
|
|
44
|
+
<option name="DOWHILE_BRACE_FORCE" value="1" />
|
|
45
|
+
<option name="WHILE_BRACE_FORCE" value="1" />
|
|
46
|
+
<option name="FOR_BRACE_FORCE" value="1" />
|
|
47
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
48
|
+
<indentOptions>
|
|
49
|
+
<option name="INDENT_SIZE" value="2" />
|
|
50
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
51
|
+
<option name="TAB_SIZE" value="2" />
|
|
52
|
+
</indentOptions>
|
|
53
|
+
</codeStyleSettings>
|
|
54
|
+
<codeStyleSettings language="TypeScript">
|
|
55
|
+
<option name="RIGHT_MARGIN" value="100" />
|
|
56
|
+
<option name="BLOCK_COMMENT_ADD_SPACE" value="true" />
|
|
57
|
+
<option name="KEEP_BLANK_LINES_IN_CODE" value="1" />
|
|
58
|
+
<option name="METHOD_CALL_CHAIN_WRAP" value="2" />
|
|
59
|
+
<option name="IF_BRACE_FORCE" value="1" />
|
|
60
|
+
<option name="DOWHILE_BRACE_FORCE" value="1" />
|
|
61
|
+
<option name="WHILE_BRACE_FORCE" value="1" />
|
|
62
|
+
<option name="FOR_BRACE_FORCE" value="1" />
|
|
63
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
64
|
+
<indentOptions>
|
|
65
|
+
<option name="INDENT_SIZE" value="2" />
|
|
66
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
67
|
+
<option name="TAB_SIZE" value="2" />
|
|
68
|
+
</indentOptions>
|
|
69
|
+
</codeStyleSettings>
|
|
70
|
+
<codeStyleSettings language="Vue">
|
|
71
|
+
<option name="SOFT_MARGINS" value="80" />
|
|
72
|
+
<indentOptions>
|
|
73
|
+
<option name="CONTINUATION_INDENT_SIZE" value="2" />
|
|
74
|
+
</indentOptions>
|
|
75
|
+
</codeStyleSettings>
|
|
76
|
+
</code_scheme>
|
|
77
|
+
</component>
|
|
@@ -0,0 +1,94 @@
|
|
|
1
|
+
<component name="InspectionProjectProfileManager">
|
|
2
|
+
<profile version="1.0">
|
|
3
|
+
<option name="myName" value="Project Default" />
|
|
4
|
+
<inspection_tool class="Eslint" enabled="true" level="WARNING" enabled_by_default="true" />
|
|
5
|
+
<inspection_tool class="PyInterpreterInspection" enabled="false" level="WARNING" enabled_by_default="false" />
|
|
6
|
+
<inspection_tool class="PyPackageRequirementsInspection" enabled="true" level="WARNING" enabled_by_default="true">
|
|
7
|
+
<option name="ignoredPackages">
|
|
8
|
+
<value>
|
|
9
|
+
<list size="79">
|
|
10
|
+
<item index="0" class="java.lang.String" itemvalue="Automat" />
|
|
11
|
+
<item index="1" class="java.lang.String" itemvalue="Babel" />
|
|
12
|
+
<item index="2" class="java.lang.String" itemvalue="PyYAML" />
|
|
13
|
+
<item index="3" class="java.lang.String" itemvalue="texttable" />
|
|
14
|
+
<item index="4" class="java.lang.String" itemvalue="ufw" />
|
|
15
|
+
<item index="5" class="java.lang.String" itemvalue="python-dotenv" />
|
|
16
|
+
<item index="6" class="java.lang.String" itemvalue="MarkupSafe" />
|
|
17
|
+
<item index="7" class="java.lang.String" itemvalue="constantly" />
|
|
18
|
+
<item index="8" class="java.lang.String" itemvalue="PyGObject" />
|
|
19
|
+
<item index="9" class="java.lang.String" itemvalue="docker-compose" />
|
|
20
|
+
<item index="10" class="java.lang.String" itemvalue="distro-info" />
|
|
21
|
+
<item index="11" class="java.lang.String" itemvalue="pyasn1-modules" />
|
|
22
|
+
<item index="12" class="java.lang.String" itemvalue="python-magic" />
|
|
23
|
+
<item index="13" class="java.lang.String" itemvalue="systemd-python" />
|
|
24
|
+
<item index="14" class="java.lang.String" itemvalue="docopt" />
|
|
25
|
+
<item index="15" class="java.lang.String" itemvalue="filelock" />
|
|
26
|
+
<item index="16" class="java.lang.String" itemvalue="sos" />
|
|
27
|
+
<item index="17" class="java.lang.String" itemvalue="certifi" />
|
|
28
|
+
<item index="18" class="java.lang.String" itemvalue="dockerpty" />
|
|
29
|
+
<item index="19" class="java.lang.String" itemvalue="oauthlib" />
|
|
30
|
+
<item index="20" class="java.lang.String" itemvalue="pyparsing" />
|
|
31
|
+
<item index="21" class="java.lang.String" itemvalue="unattended-upgrades" />
|
|
32
|
+
<item index="22" class="java.lang.String" itemvalue="jsonschema" />
|
|
33
|
+
<item index="23" class="java.lang.String" itemvalue="hyperlink" />
|
|
34
|
+
<item index="24" class="java.lang.String" itemvalue="service-identity" />
|
|
35
|
+
<item index="25" class="java.lang.String" itemvalue="lazr.restfulclient" />
|
|
36
|
+
<item index="26" class="java.lang.String" itemvalue="cryptography" />
|
|
37
|
+
<item index="27" class="java.lang.String" itemvalue="zope.interface" />
|
|
38
|
+
<item index="28" class="java.lang.String" itemvalue="pexpect" />
|
|
39
|
+
<item index="29" class="java.lang.String" itemvalue="lazr.uri" />
|
|
40
|
+
<item index="30" class="java.lang.String" itemvalue="python-apt" />
|
|
41
|
+
<item index="31" class="java.lang.String" itemvalue="SecretStorage" />
|
|
42
|
+
<item index="32" class="java.lang.String" itemvalue="click" />
|
|
43
|
+
<item index="33" class="java.lang.String" itemvalue="ubuntu-advantage-tools" />
|
|
44
|
+
<item index="34" class="java.lang.String" itemvalue="attrs" />
|
|
45
|
+
<item index="35" class="java.lang.String" itemvalue="bcrypt" />
|
|
46
|
+
<item index="36" class="java.lang.String" itemvalue="ssh-import-id" />
|
|
47
|
+
<item index="37" class="java.lang.String" itemvalue="platformdirs" />
|
|
48
|
+
<item index="38" class="java.lang.String" itemvalue="virtualenv" />
|
|
49
|
+
<item index="39" class="java.lang.String" itemvalue="distlib" />
|
|
50
|
+
<item index="40" class="java.lang.String" itemvalue="jsonpatch" />
|
|
51
|
+
<item index="41" class="java.lang.String" itemvalue="idna" />
|
|
52
|
+
<item index="42" class="java.lang.String" itemvalue="distro" />
|
|
53
|
+
<item index="43" class="java.lang.String" itemvalue="PyJWT" />
|
|
54
|
+
<item index="44" class="java.lang.String" itemvalue="netifaces" />
|
|
55
|
+
<item index="45" class="java.lang.String" itemvalue="ptyprocess" />
|
|
56
|
+
<item index="46" class="java.lang.String" itemvalue="more-itertools" />
|
|
57
|
+
<item index="47" class="java.lang.String" itemvalue="httplib2" />
|
|
58
|
+
<item index="48" class="java.lang.String" itemvalue="pyasn1" />
|
|
59
|
+
<item index="49" class="java.lang.String" itemvalue="requests" />
|
|
60
|
+
<item index="50" class="java.lang.String" itemvalue="wadllib" />
|
|
61
|
+
<item index="51" class="java.lang.String" itemvalue="importlib-metadata" />
|
|
62
|
+
<item index="52" class="java.lang.String" itemvalue="jeepney" />
|
|
63
|
+
<item index="53" class="java.lang.String" itemvalue="Jinja2" />
|
|
64
|
+
<item index="54" class="java.lang.String" itemvalue="python-debian" />
|
|
65
|
+
<item index="55" class="java.lang.String" itemvalue="websocket-client" />
|
|
66
|
+
<item index="56" class="java.lang.String" itemvalue="docker" />
|
|
67
|
+
<item index="57" class="java.lang.String" itemvalue="pyrsistent" />
|
|
68
|
+
<item index="58" class="java.lang.String" itemvalue="pyOpenSSL" />
|
|
69
|
+
<item index="59" class="java.lang.String" itemvalue="launchpadlib" />
|
|
70
|
+
<item index="60" class="java.lang.String" itemvalue="zipp" />
|
|
71
|
+
<item index="61" class="java.lang.String" itemvalue="cloud-init" />
|
|
72
|
+
<item index="62" class="java.lang.String" itemvalue="urllib3" />
|
|
73
|
+
<item index="63" class="java.lang.String" itemvalue="blinker" />
|
|
74
|
+
<item index="64" class="java.lang.String" itemvalue="ubuntu-drivers-common" />
|
|
75
|
+
<item index="65" class="java.lang.String" itemvalue="six" />
|
|
76
|
+
<item index="66" class="java.lang.String" itemvalue="xkit" />
|
|
77
|
+
<item index="67" class="java.lang.String" itemvalue="jsonpointer" />
|
|
78
|
+
<item index="68" class="java.lang.String" itemvalue="PyHamcrest" />
|
|
79
|
+
<item index="69" class="java.lang.String" itemvalue="pyserial" />
|
|
80
|
+
<item index="70" class="java.lang.String" itemvalue="incremental" />
|
|
81
|
+
<item index="71" class="java.lang.String" itemvalue="chardet" />
|
|
82
|
+
<item index="72" class="java.lang.String" itemvalue="colorama" />
|
|
83
|
+
<item index="73" class="java.lang.String" itemvalue="configobj" />
|
|
84
|
+
<item index="74" class="java.lang.String" itemvalue="dbus-python" />
|
|
85
|
+
<item index="75" class="java.lang.String" itemvalue="command-not-found" />
|
|
86
|
+
<item index="76" class="java.lang.String" itemvalue="pytz" />
|
|
87
|
+
<item index="77" class="java.lang.String" itemvalue="keyring" />
|
|
88
|
+
<item index="78" class="java.lang.String" itemvalue="Twisted" />
|
|
89
|
+
</list>
|
|
90
|
+
</value>
|
|
91
|
+
</option>
|
|
92
|
+
</inspection_tool>
|
|
93
|
+
</profile>
|
|
94
|
+
</component>
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="MaterialThemeProjectNewConfig">
|
|
4
|
+
<option name="metadata">
|
|
5
|
+
<MTProjectMetadataState>
|
|
6
|
+
<option name="migrated" value="true" />
|
|
7
|
+
<option name="pristineConfig" value="false" />
|
|
8
|
+
<option name="userId" value="-1de6b85:18f936e3845:-7ffe" />
|
|
9
|
+
</MTProjectMetadataState>
|
|
10
|
+
</option>
|
|
11
|
+
</component>
|
|
12
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="ProjectModuleManager">
|
|
4
|
+
<modules>
|
|
5
|
+
<module fileurl="file://$PROJECT_DIR$/.idea/MaruDesign2.iml" filepath="$PROJECT_DIR$/.idea/MaruDesign2.iml" />
|
|
6
|
+
</modules>
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
<?xml version="1.0" encoding="UTF-8"?>
|
|
2
|
+
<project version="4">
|
|
3
|
+
<component name="PrettierConfiguration">
|
|
4
|
+
<option name="myConfigurationMode" value="MANUAL" />
|
|
5
|
+
<option name="myRunOnSave" value="true" />
|
|
6
|
+
<option name="myFilesPattern" value="**/*.{js,ts,jsx,tsx,vue,astro,scss,css}" />
|
|
7
|
+
</component>
|
|
8
|
+
</project>
|
package/.idea/vcs.xml
ADDED
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
# Changelog
|
|
2
|
+
|
|
3
|
+
## 2.4.3 (2024-05-10)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* add release-please.yml ([21d18be](https://github.com/42maru-ai/maru-design2/commit/21d18bef2f30e759b9bbd7d7c80ceb81d9b0c1eb))
|
|
9
|
+
* update release-please.yml ([9b36847](https://github.com/42maru-ai/maru-design2/commit/9b36847339d53de4a0a31b37641f7ccef97aa985))
|
|
@@ -1,30 +1,33 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TColor } from '../../../enums/color';
|
|
3
|
-
import { TButtonSize } from '../../../enums/size';
|
|
4
|
-
import { TButtonVariant } from '../../../enums/variant';
|
|
5
|
-
import { IconProps } from '../icon
|
|
6
|
-
import './button.scss';
|
|
7
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TColor } from '../../../enums/color';
|
|
3
|
+
import { TButtonSize } from '../../../enums/size';
|
|
4
|
+
import { TButtonVariant } from '../../../enums/variant';
|
|
5
|
+
import { IconProps } from '../icon';
|
|
6
|
+
import './button.scss';
|
|
7
|
+
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
8
|
+
/**
|
|
9
|
+
* 자식 노드
|
|
10
|
+
*/
|
|
11
|
+
children?: React.ReactNode;
|
|
12
|
+
/**
|
|
13
|
+
* 색깔 (@v1 variant)
|
|
14
|
+
*/
|
|
15
|
+
color?: TColor;
|
|
16
|
+
/**
|
|
17
|
+
* 사이즈 (@v1 kind)
|
|
18
|
+
*/
|
|
19
|
+
size?: TButtonSize;
|
|
20
|
+
/**
|
|
21
|
+
* 모양 (@v1 kind)
|
|
22
|
+
*/
|
|
23
|
+
variant?: TButtonVariant;
|
|
24
|
+
/**
|
|
25
|
+
* 컴포넌트 시작점에 위치시킬 아이콘 (@v1 icon)
|
|
26
|
+
*/
|
|
27
|
+
startIcon?: IconProps;
|
|
28
|
+
/**
|
|
29
|
+
* 컴포넌트 끝점에 위치시킬 아이콘 (@v1 icon)
|
|
30
|
+
*/
|
|
31
|
+
endIcon?: IconProps;
|
|
32
|
+
}
|
|
33
|
+
export declare const Button: React.ForwardRefExoticComponent<ButtonProps & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Button';
|
|
1
|
+
export * from './Button';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TGap } from '../../../enums/gap';
|
|
3
|
-
import { TCheckboxSize } from '../../../enums/size';
|
|
4
|
-
import './checkbox.scss';
|
|
5
|
-
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'checked' | 'type'> {
|
|
6
|
-
checked?: boolean;
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
/**
|
|
17
|
-
* [16, 18, 24]
|
|
18
|
-
*/
|
|
19
|
-
size?: TCheckboxSize;
|
|
20
|
-
}
|
|
21
|
-
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TGap } from '../../../enums/gap';
|
|
3
|
+
import { TCheckboxSize } from '../../../enums/size';
|
|
4
|
+
import './checkbox.scss';
|
|
5
|
+
export interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>, 'checked' | 'type'> {
|
|
6
|
+
checked?: boolean;
|
|
7
|
+
label?: string;
|
|
8
|
+
/**
|
|
9
|
+
* (@v1 variant)
|
|
10
|
+
*/
|
|
11
|
+
color?: string;
|
|
12
|
+
/**
|
|
13
|
+
* 컴포넌트와 라벨 사이의 거리
|
|
14
|
+
*/
|
|
15
|
+
gap?: TGap;
|
|
16
|
+
/**
|
|
17
|
+
* [16, 18, 24]
|
|
18
|
+
*/
|
|
19
|
+
size?: TCheckboxSize;
|
|
20
|
+
}
|
|
21
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<CheckboxProps & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
1
|
+
export * from './Checkbox';
|
|
@@ -1,25 +1,29 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TColor } from '../../../enums/color';
|
|
3
|
-
import { TChipSize } from '../../../enums/size';
|
|
4
|
-
import { TChipVariant } from '../../../enums/variant';
|
|
5
|
-
import './chip.scss';
|
|
6
|
-
export interface ChipProps {
|
|
7
|
-
/**
|
|
8
|
-
* 컴포넌트에 들어갈 내용. number인 경우 천의 자리마다 컴마(,)
|
|
9
|
-
*/
|
|
10
|
-
children: React.ReactNode | string | number;
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { TColor } from '../../../enums/color';
|
|
3
|
+
import { TChipSize } from '../../../enums/size';
|
|
4
|
+
import { TChipVariant } from '../../../enums/variant';
|
|
5
|
+
import './chip.scss';
|
|
6
|
+
export interface ChipProps {
|
|
7
|
+
/**
|
|
8
|
+
* 컴포넌트에 들어갈 내용. number인 경우 천의 자리마다 컴마(,) 표시됨
|
|
9
|
+
*/
|
|
10
|
+
children: React.ReactNode | string | number;
|
|
11
|
+
/**
|
|
12
|
+
* (@v1 variant)
|
|
13
|
+
*/
|
|
14
|
+
color?: TColor;
|
|
15
|
+
/**
|
|
16
|
+
* (@v1 kind)
|
|
17
|
+
*/
|
|
18
|
+
size?: TChipSize;
|
|
19
|
+
/**
|
|
20
|
+
* (@v1 kind)
|
|
21
|
+
*/
|
|
22
|
+
variant?: TChipVariant;
|
|
23
|
+
className?: string;
|
|
24
|
+
/**
|
|
25
|
+
* 설정하면 X아이콘 생기며, 해당 아이콘에 클릭 이벤트를 할당함.
|
|
26
|
+
*/
|
|
27
|
+
onXIconClick?: () => void;
|
|
28
|
+
}
|
|
29
|
+
export declare function Chip({ children, color, size, variant, className, onXIconClick, }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from './Chip';
|
|
1
|
+
export * from './Chip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './Code';
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
export declare function Icon({ name, color, size }: IconProps): import("react/jsx-runtime").JSX.Element;
|
|
1
|
+
import { TIcons } from './iconmap';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
/**
|
|
4
|
+
* (@v1 iconName)
|
|
5
|
+
*/
|
|
6
|
+
name: TIcons;
|
|
7
|
+
/**
|
|
8
|
+
* primary, secondary, positive, warning, danger + rgb. (@v1 fill)
|
|
9
|
+
*/
|
|
10
|
+
color?: string;
|
|
11
|
+
/**
|
|
12
|
+
* primary, secondary, positive, warning, danger + rgb. (@v1 fill)
|
|
13
|
+
*/
|
|
14
|
+
hoverColor?: string;
|
|
15
|
+
}
|
|
16
|
+
export declare function Icon({ name, color, hoverColor }: IconProps): import("react/jsx-runtime").JSX.Element;
|