smarthr-ui 98.0.0 → 98.1.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.
- package/lib/components/Combobox/ItemButton.cjs +27 -26
- package/lib/components/Combobox/ItemButton.cjs.map +1 -1
- package/lib/components/Combobox/ItemButton.js +28 -27
- package/lib/components/Combobox/ItemButton.js.map +1 -1
- package/lib/components/Combobox/SingleCombobox/SingleCombobox.cjs +35 -52
- package/lib/components/Combobox/SingleCombobox/SingleCombobox.cjs.map +1 -1
- package/lib/components/Combobox/SingleCombobox/SingleCombobox.js +35 -52
- package/lib/components/Combobox/SingleCombobox/SingleCombobox.js.map +1 -1
- package/lib/components/Dialog/RemoteDialogTrigger/RemoteDialogTrigger.cjs +9 -3
- package/lib/components/Dialog/RemoteDialogTrigger/RemoteDialogTrigger.cjs.map +1 -1
- package/lib/components/Dialog/RemoteDialogTrigger/RemoteDialogTrigger.js +9 -3
- package/lib/components/Dialog/RemoteDialogTrigger/RemoteDialogTrigger.js.map +1 -1
- package/lib/components/Disclosure/DisclosureTrigger.cjs +8 -4
- package/lib/components/Disclosure/DisclosureTrigger.cjs.map +1 -1
- package/lib/components/Disclosure/DisclosureTrigger.js +8 -4
- package/lib/components/Disclosure/DisclosureTrigger.js.map +1 -1
- package/lib/components/FileViewer/FileViewer.cjs +35 -2
- package/lib/components/FileViewer/FileViewer.cjs.map +1 -1
- package/lib/components/FileViewer/FileViewer.js +37 -4
- package/lib/components/FileViewer/FileViewer.js.map +1 -1
- package/lib/components/FileViewer/PDFViewer.cjs +59 -2
- package/lib/components/FileViewer/PDFViewer.cjs.map +1 -1
- package/lib/components/FileViewer/PDFViewer.d.ts +6 -1
- package/lib/components/FileViewer/PDFViewer.js +60 -3
- package/lib/components/FileViewer/PDFViewer.js.map +1 -1
- package/lib/components/FileViewer/SearchController.cjs +105 -0
- package/lib/components/FileViewer/SearchController.cjs.map +1 -0
- package/lib/components/FileViewer/SearchController.d.ts +7 -0
- package/lib/components/FileViewer/SearchController.js +103 -0
- package/lib/components/FileViewer/SearchController.js.map +1 -0
- package/lib/components/FileViewer/buildCustomTextRenderer.cjs +55 -0
- package/lib/components/FileViewer/buildCustomTextRenderer.cjs.map +1 -0
- package/lib/components/FileViewer/buildCustomTextRenderer.d.ts +9 -0
- package/lib/components/FileViewer/buildCustomTextRenderer.js +50 -0
- package/lib/components/FileViewer/buildCustomTextRenderer.js.map +1 -0
- package/lib/components/FileViewer/types.d.ts +7 -0
- package/lib/components/FileViewer/usePDFSearch.cjs +148 -0
- package/lib/components/FileViewer/usePDFSearch.cjs.map +1 -0
- package/lib/components/FileViewer/usePDFSearch.d.ts +19 -0
- package/lib/components/FileViewer/usePDFSearch.js +143 -0
- package/lib/components/FileViewer/usePDFSearch.js.map +1 -0
- package/lib/components/Icon/FaIcon.js +1 -1
- package/lib/hooks/useLatest.cjs +33 -0
- package/lib/hooks/useLatest.cjs.map +1 -0
- package/lib/hooks/useLatest.d.ts +19 -0
- package/lib/hooks/useLatest.js +31 -0
- package/lib/hooks/useLatest.js.map +1 -0
- package/lib/intl/locales/en_us.json.cjs +3 -0
- package/lib/intl/locales/en_us.json.cjs.map +1 -1
- package/lib/intl/locales/en_us.json.js +3 -0
- package/lib/intl/locales/en_us.json.js.map +1 -1
- package/lib/intl/locales/id_id.json.cjs +3 -0
- package/lib/intl/locales/id_id.json.cjs.map +1 -1
- package/lib/intl/locales/id_id.json.js +3 -0
- package/lib/intl/locales/id_id.json.js.map +1 -1
- package/lib/intl/locales/index.d.ts +27 -0
- package/lib/intl/locales/ja.cjs +3 -0
- package/lib/intl/locales/ja.cjs.map +1 -1
- package/lib/intl/locales/ja.d.ts +3 -0
- package/lib/intl/locales/ja.js +3 -0
- package/lib/intl/locales/ja.js.map +1 -1
- package/lib/intl/locales/ja.json.cjs +3 -0
- package/lib/intl/locales/ja.json.cjs.map +1 -1
- package/lib/intl/locales/ja.json.js +3 -0
- package/lib/intl/locales/ja.json.js.map +1 -1
- package/lib/intl/locales/ja_easy.json.cjs +3 -0
- package/lib/intl/locales/ja_easy.json.cjs.map +1 -1
- package/lib/intl/locales/ja_easy.json.js +3 -0
- package/lib/intl/locales/ja_easy.json.js.map +1 -1
- package/lib/intl/locales/ko_kr.json.cjs +3 -0
- package/lib/intl/locales/ko_kr.json.cjs.map +1 -1
- package/lib/intl/locales/ko_kr.json.js +3 -0
- package/lib/intl/locales/ko_kr.json.js.map +1 -1
- package/lib/intl/locales/pt_br.json.cjs +3 -0
- package/lib/intl/locales/pt_br.json.cjs.map +1 -1
- package/lib/intl/locales/pt_br.json.js +3 -0
- package/lib/intl/locales/pt_br.json.js.map +1 -1
- package/lib/intl/locales/vi_vn.json.cjs +3 -0
- package/lib/intl/locales/vi_vn.json.cjs.map +1 -1
- package/lib/intl/locales/vi_vn.json.js +3 -0
- package/lib/intl/locales/vi_vn.json.js.map +1 -1
- package/lib/intl/locales/zh_hans_cn.json.cjs +3 -0
- package/lib/intl/locales/zh_hans_cn.json.cjs.map +1 -1
- package/lib/intl/locales/zh_hans_cn.json.js +3 -0
- package/lib/intl/locales/zh_hans_cn.json.js.map +1 -1
- package/lib/intl/locales/zh_hant_tw.json.cjs +3 -0
- package/lib/intl/locales/zh_hant_tw.json.cjs.map +1 -1
- package/lib/intl/locales/zh_hant_tw.json.js +3 -0
- package/lib/intl/locales/zh_hant_tw.json.js.map +1 -1
- package/metadata.json +1 -1
- package/package.json +1 -1
- package/smarthr-ui.css +35 -4
package/package.json
CHANGED
package/smarthr-ui.css
CHANGED
|
@@ -1139,6 +1139,10 @@ a {
|
|
|
1139
1139
|
min-width: max-content;
|
|
1140
1140
|
}
|
|
1141
1141
|
|
|
1142
|
+
.shr-max-w-\[15em\] {
|
|
1143
|
+
max-width: 15em;
|
|
1144
|
+
}
|
|
1145
|
+
|
|
1142
1146
|
.shr-max-w-\[calc\(100dvw-theme\(spacing\.1\)\)\] {
|
|
1143
1147
|
max-width: calc(100dvw - 16px);
|
|
1144
1148
|
}
|
|
@@ -1631,6 +1635,10 @@ a {
|
|
|
1631
1635
|
grid-template-columns: 1rem 1fr 1rem;
|
|
1632
1636
|
}
|
|
1633
1637
|
|
|
1638
|
+
.shr-grid-cols-\[minmax\(0\,1fr\)_auto_minmax\(0\,1fr\)\] {
|
|
1639
|
+
grid-template-columns: minmax(0,1fr) auto minmax(0,1fr);
|
|
1640
|
+
}
|
|
1641
|
+
|
|
1634
1642
|
.shr-grid-rows-\[auto_1fr\] {
|
|
1635
1643
|
grid-template-rows: auto 1fr;
|
|
1636
1644
|
}
|
|
@@ -1703,10 +1711,6 @@ a {
|
|
|
1703
1711
|
justify-content: stretch;
|
|
1704
1712
|
}
|
|
1705
1713
|
|
|
1706
|
-
.shr-justify-items-center {
|
|
1707
|
-
justify-items: center;
|
|
1708
|
-
}
|
|
1709
|
-
|
|
1710
1714
|
.shr-gap-0 {
|
|
1711
1715
|
gap: 0;
|
|
1712
1716
|
}
|
|
@@ -1954,6 +1958,14 @@ a {
|
|
|
1954
1958
|
align-self: stretch;
|
|
1955
1959
|
}
|
|
1956
1960
|
|
|
1961
|
+
.shr-justify-self-center {
|
|
1962
|
+
justify-self: center;
|
|
1963
|
+
}
|
|
1964
|
+
|
|
1965
|
+
.shr-justify-self-stretch {
|
|
1966
|
+
justify-self: stretch;
|
|
1967
|
+
}
|
|
1968
|
+
|
|
1957
1969
|
.shr-overflow-auto {
|
|
1958
1970
|
overflow: auto;
|
|
1959
1971
|
}
|
|
@@ -2108,6 +2120,11 @@ a {
|
|
|
2108
2120
|
border-bottom-right-radius: 0;
|
|
2109
2121
|
}
|
|
2110
2122
|
|
|
2123
|
+
.shr-rounded-s-none {
|
|
2124
|
+
border-start-start-radius: 0;
|
|
2125
|
+
border-end-start-radius: 0;
|
|
2126
|
+
}
|
|
2127
|
+
|
|
2111
2128
|
.shr-rounded-t-l {
|
|
2112
2129
|
border-top-left-radius: 8px;
|
|
2113
2130
|
border-top-right-radius: 8px;
|
|
@@ -2167,6 +2184,10 @@ a {
|
|
|
2167
2184
|
border-bottom-width: 1px;
|
|
2168
2185
|
}
|
|
2169
2186
|
|
|
2187
|
+
.shr-border-s-0 {
|
|
2188
|
+
border-inline-start-width: 0px;
|
|
2189
|
+
}
|
|
2190
|
+
|
|
2170
2191
|
.shr-border-s-4 {
|
|
2171
2192
|
border-inline-start-width: 4px;
|
|
2172
2193
|
}
|
|
@@ -4631,6 +4652,11 @@ a {
|
|
|
4631
4652
|
cursor: not-allowed;
|
|
4632
4653
|
}
|
|
4633
4654
|
|
|
4655
|
+
.aria-disabled\:\!shr-border-default[aria-disabled="true"] {
|
|
4656
|
+
--tw-border-opacity: 1 !important;
|
|
4657
|
+
border-color: rgb(214 211 208 / var(--tw-border-opacity, 1)) !important;
|
|
4658
|
+
}
|
|
4659
|
+
|
|
4634
4660
|
.aria-disabled\:shr-border-danger\/50[aria-disabled="true"] {
|
|
4635
4661
|
border-color: rgb(224 30 90 / 0.5);
|
|
4636
4662
|
}
|
|
@@ -6088,6 +6114,11 @@ a {
|
|
|
6088
6114
|
width: 100%;
|
|
6089
6115
|
}
|
|
6090
6116
|
|
|
6117
|
+
.\[\&_\.smarthr-ui-Input\]\:shr-rounded-e-none .smarthr-ui-Input {
|
|
6118
|
+
border-start-end-radius: 0;
|
|
6119
|
+
border-end-end-radius: 0;
|
|
6120
|
+
}
|
|
6121
|
+
|
|
6091
6122
|
.\[\&_\.smarthr-ui-Loader-line\]\:shr-border-disabled .smarthr-ui-Loader-line {
|
|
6092
6123
|
border-color: rgb(214 211 208 / 50%);
|
|
6093
6124
|
}
|