@scripso-homepad/ui 0.4.35 → 0.4.37
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/{chunk-AOBKWDGW.js → chunk-4FBZM62E.js} +3 -3
- package/dist/chunk-4FBZM62E.js.map +1 -0
- package/dist/index.cjs +9 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +10 -5
- package/dist/index.js.map +1 -1
- package/dist/web/index.cjs +113 -41
- package/dist/web/index.cjs.map +1 -1
- package/dist/web/index.d.cts +23 -3
- package/dist/web/index.d.ts +23 -3
- package/dist/web/index.js +113 -43
- package/dist/web/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/Button.tsx +5 -1
- package/src/components/PhoneInput.tsx +5 -0
- package/src/web/components/Drawer.tsx +2 -2
- package/src/web/components/Pagination.tsx +62 -58
- package/src/web/components/table/DataTable.tsx +2 -1
- package/src/web/components/table/TableScrollArea.tsx +1 -1
- package/src/web/icons/SidebarCollapseIcon.tsx +32 -0
- package/src/web/icons/SidebarExpandIcon.tsx +32 -0
- package/src/web/index.ts +2 -0
- package/src/web/layout/DashboardLayout.stories.tsx +2 -1
- package/src/web/layout/DashboardLayout.tsx +3 -3
- package/src/web/layout/Sidebar.stories.tsx +1 -0
- package/src/web/layout/Sidebar.tsx +35 -23
- package/src/web/layout/SidebarMobileHeader.stories.tsx +20 -0
- package/src/web/layout/SidebarMobileHeader.tsx +8 -3
- package/dist/chunk-AOBKWDGW.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { spacing, colors, fontWeight, fontSize, fonts, radii, INPUT_HEIGHT, INPUT_OUTLINE_WIDTH, INPUT_ICON_GAP, useApplyWebClassName, resolveInputVisualState, Label, getInputFieldStyles, inputFieldMetrics } from './chunk-
|
|
2
|
-
export { Button, Input, Label, announcementStatusBadge, brand, buttonTypography, colors, emeraldGreen, fontSize, fontWeight, fonts, labelTypography, navy, radii, rubyRed, shadows, spacing, stormGray, typographyScale } from './chunk-
|
|
1
|
+
import { spacing, colors, fontWeight, fontSize, fonts, radii, INPUT_HEIGHT, INPUT_OUTLINE_WIDTH, INPUT_ICON_GAP, useApplyWebClassName, resolveInputVisualState, Label, getInputFieldStyles, inputFieldMetrics } from './chunk-4FBZM62E.js';
|
|
2
|
+
export { Button, Input, Label, announcementStatusBadge, brand, buttonTypography, colors, emeraldGreen, fontSize, fontWeight, fonts, labelTypography, navy, radii, rubyRed, shadows, spacing, stormGray, typographyScale } from './chunk-4FBZM62E.js';
|
|
3
3
|
import { createContext, useRef, useState, useMemo, useEffect, useLayoutEffect, useContext, isValidElement, cloneElement } from 'react';
|
|
4
4
|
import { Platform, StyleSheet, Animated, Easing, View, Pressable, Text, Modal, ScrollView, Image, TextInput, Dimensions } from 'react-native';
|
|
5
5
|
import Svg2, { Path } from 'react-native-svg';
|
|
@@ -1254,12 +1254,15 @@ function PhoneInput({
|
|
|
1254
1254
|
var styles4 = StyleSheet.create({
|
|
1255
1255
|
wrapper: {
|
|
1256
1256
|
width: "100%",
|
|
1257
|
+
minWidth: 0,
|
|
1257
1258
|
gap: spacing.sm
|
|
1258
1259
|
},
|
|
1259
1260
|
row: {
|
|
1260
1261
|
flexDirection: "row",
|
|
1261
1262
|
alignItems: "center",
|
|
1262
|
-
gap: INPUT_ICON_GAP
|
|
1263
|
+
gap: INPUT_ICON_GAP,
|
|
1264
|
+
minWidth: 0,
|
|
1265
|
+
width: "100%"
|
|
1263
1266
|
},
|
|
1264
1267
|
countryOutline: {
|
|
1265
1268
|
flexShrink: 0
|
|
@@ -1268,10 +1271,12 @@ var styles4 = StyleSheet.create({
|
|
|
1268
1271
|
flexShrink: 0
|
|
1269
1272
|
},
|
|
1270
1273
|
phoneOutline: {
|
|
1271
|
-
flex: 1
|
|
1274
|
+
flex: 1,
|
|
1275
|
+
minWidth: 0
|
|
1272
1276
|
},
|
|
1273
1277
|
phoneField: {
|
|
1274
|
-
flex: 1
|
|
1278
|
+
flex: 1,
|
|
1279
|
+
minWidth: 0
|
|
1275
1280
|
},
|
|
1276
1281
|
error: {
|
|
1277
1282
|
fontSize: 12,
|