freemium-ui 2.0.120 → 2.0.122

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.
@@ -0,0 +1,280 @@
1
+ name: Automated Version Bump and Publish
2
+
3
+ on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ version_type:
7
+ description: 'Version bump type'
8
+ required: true
9
+ default: 'patch'
10
+ type: choice
11
+ options:
12
+ - patch
13
+ - minor
14
+ - major
15
+ push:
16
+ branches:
17
+ - main
18
+
19
+ permissions:
20
+ contents: write
21
+ pull-requests: write
22
+ packages: write
23
+
24
+ jobs:
25
+ create-version-pr:
26
+ name: Create Version Bump PR
27
+ runs-on: fw-shared
28
+ if: github.event_name == 'workflow_dispatch'
29
+
30
+ steps:
31
+ - name: Checkout code
32
+ uses: actions/checkout@v4
33
+ with:
34
+ fetch-depth: 0
35
+ token: ${{ secrets.GITHUB_TOKEN }}
36
+ persist-credentials: true
37
+
38
+ - name: Setup Node.js
39
+ uses: actions/setup-node@v4
40
+ with:
41
+ node-version: '18'
42
+ registry-url: 'https://registry.npmjs.org'
43
+ cache: 'npm'
44
+
45
+ - name: Configure Git
46
+ run: |
47
+ git config --local user.email "survey-serv-ci@users.noreply.github.com"
48
+ git config --local user.name "Survey Serv Release Bot"
49
+ git config --local url."https://x-access-token:${{ secrets.GITHUB_TOKEN }}@github.com/".insteadOf "https://github.com/"
50
+
51
+ - name: Get current version
52
+ id: current_version
53
+ run: echo "version=$(node -p "require('./package.json').version")" >> $GITHUB_OUTPUT
54
+
55
+ - name: Create feature branch
56
+ id: branch
57
+ run: |
58
+ BRANCH_NAME="version-bump-$(date +'%Y%m%d-%H%M%S')"
59
+ git checkout -b $BRANCH_NAME
60
+ echo "branch_name=$BRANCH_NAME" >> $GITHUB_OUTPUT
61
+
62
+ - name: Bump version
63
+ id: version_bump
64
+ run: |
65
+ NEW_VERSION=$(npm version ${{ github.event.inputs.version_type }} --no-git-tag-version)
66
+ echo "new_version=$NEW_VERSION" >> $GITHUB_OUTPUT
67
+ echo "Bumped version from ${{ steps.current_version.outputs.version }} to $NEW_VERSION"
68
+
69
+ - name: Generate changes summary
70
+ id: changes
71
+ run: |
72
+ # Get commits since last tag for release notes
73
+ LAST_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
74
+ if [ -z "$LAST_TAG" ]; then
75
+ CHANGES=$(git log --pretty=format:"- [%s](https://github.com/${{ github.repository }}/commit/%H)" --no-merges | head -10)
76
+ RELEASE_TYPE="Initial Release"
77
+ else
78
+ CHANGES=$(git log $LAST_TAG..HEAD --pretty=format:"- [%s](https://github.com/${{ github.repository }}/commit/%H)" --no-merges | head -10)
79
+ RELEASE_TYPE="Update"
80
+ fi
81
+
82
+ echo "changes<<EOF" >> $GITHUB_OUTPUT
83
+ echo "$CHANGES" >> $GITHUB_OUTPUT
84
+ echo "EOF" >> $GITHUB_OUTPUT
85
+
86
+ echo "release_type<<EOF" >> $GITHUB_OUTPUT
87
+ echo "$RELEASE_TYPE" >> $GITHUB_OUTPUT
88
+ echo "EOF" >> $GITHUB_OUTPUT
89
+
90
+ - name: Commit version bump
91
+ run: |
92
+ git add package.json package-lock.json
93
+ git commit -m "chore: bump version to ${{ steps.version_bump.outputs.new_version }}
94
+
95
+ Version: ${{ steps.current_version.outputs.version }} → ${{ steps.version_bump.outputs.new_version }}
96
+ Type: ${{ github.event.inputs.version_type }}
97
+
98
+ Ready for automated publish after merge"
99
+
100
+ - name: Push feature branch
101
+ run: git push origin ${{ steps.branch.outputs.branch_name }}
102
+
103
+ - name: Create Pull Request
104
+ run: |
105
+ PR_URL=$(gh pr create \
106
+ --title "chore(release): bump version to ${{ steps.version_bump.outputs.new_version }}" \
107
+ --body "## Automated Version Bump: ${{ steps.version_bump.outputs.new_version }}
108
+
109
+ **Initiated by:** @${{ github.actor }}
110
+ **Workflow run:** [${{ github.run_id }}](https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }})
111
+ **Trigger:** Manual workflow dispatch
112
+
113
+ ### Changes:
114
+ - **Version**: ${{ steps.current_version.outputs.version }} → ${{ steps.version_bump.outputs.new_version }}
115
+ - **Type**: ${{ github.event.inputs.version_type }}
116
+
117
+ ### Recent commits:
118
+ ${{ steps.changes.outputs.changes }}
119
+
120
+ ### After Merge - Automatic Actions:
121
+ - npm package published
122
+ - Git tag created
123
+ - GitHub release created
124
+
125
+ **Merge this PR to trigger automated publishing!**" \
126
+ --head ${{ steps.branch.outputs.branch_name }} \
127
+ --base main)
128
+
129
+ echo "Pull request created: $PR_URL"
130
+ echo "Review and merge to complete: $PR_URL"
131
+ env:
132
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
133
+
134
+ publish-after-merge:
135
+ name: Publish After PR Merge
136
+ runs-on: fw-shared
137
+ if: github.event_name == 'push' && github.ref == 'refs/heads/main'
138
+
139
+ steps:
140
+ - name: Checkout code
141
+ uses: actions/checkout@v4
142
+ with:
143
+ fetch-depth: 0
144
+
145
+ - name: Setup Node.js
146
+ uses: actions/setup-node@v4
147
+ with:
148
+ node-version: '18'
149
+ registry-url: 'https://registry.npmjs.org'
150
+ cache: 'npm'
151
+
152
+ - name: Check if this is a version bump commit
153
+ id: check_version
154
+ run: |
155
+ COMMIT_MSG=$(git log -1 --pretty=%s)
156
+ echo "Latest commit message: $COMMIT_MSG"
157
+
158
+ # Check commit message patterns (including merge commit messages)
159
+ COMMIT_MATCH=false
160
+ if echo "$COMMIT_MSG" | grep -q "chore: bump version to\|chore(release): bump version to\|Version Bump to\|bump version"; then
161
+ COMMIT_MATCH=true
162
+ fi
163
+
164
+ # Check the PR branch pattern in merge commit
165
+ PR_BRANCH_MATCH=false
166
+ if echo "$COMMIT_MSG" | grep -q "version-bump-[0-9]"; then
167
+ PR_BRANCH_MATCH=true
168
+ echo "Version bump branch pattern detected in merge"
169
+ fi
170
+
171
+ echo "Commit message match: $COMMIT_MATCH"
172
+ echo "PR branch match: $PR_BRANCH_MATCH"
173
+
174
+ if [ "$COMMIT_MATCH" = true ] || [ "$PR_BRANCH_MATCH" = true ]; then
175
+ echo "is_version_bump=true" >> $GITHUB_OUTPUT
176
+ VERSION=$(node -p "require('./package.json').version")
177
+ echo "version=v$VERSION" >> $GITHUB_OUTPUT
178
+ echo "✅ Version bump detected: $VERSION"
179
+ echo "Reason: Commit=$COMMIT_MATCH, Branch=$PR_BRANCH_MATCH"
180
+ else
181
+ echo "is_version_bump=false" >> $GITHUB_OUTPUT
182
+ echo "❌ Not a version bump commit, skipping publish"
183
+ echo "Commit message: $COMMIT_MSG"
184
+ echo "No version bump indicators found"
185
+ fi
186
+
187
+ - name: Install dependencies and build
188
+ if: steps.check_version.outputs.is_version_bump == 'true'
189
+ run: |
190
+ npm ci
191
+ npm run build
192
+
193
+ - name: Publish to npm
194
+ if: steps.check_version.outputs.is_version_bump == 'true'
195
+ run: |
196
+ echo "Publishing to npm..."
197
+ npm publish
198
+ echo "Successfully published to npm!"
199
+ env:
200
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
201
+
202
+ - name: Create Git tag
203
+ if: steps.check_version.outputs.is_version_bump == 'true'
204
+ run: |
205
+ git config --local user.email "survey-serv-ci@users.noreply.github.com"
206
+ git config --local user.name "Survey Serv Release Bot"
207
+ git tag ${{ steps.check_version.outputs.version }}
208
+ git push origin ${{ steps.check_version.outputs.version }}
209
+ echo "Git tag created and pushed!"
210
+
211
+ - name: Cleanup version bump branch
212
+ if: steps.check_version.outputs.is_version_bump == 'true'
213
+ run: |
214
+ # Extract branch name from merge commit message
215
+ COMMIT_MSG=$(git log -1 --pretty=%s)
216
+ echo "Commit message: $COMMIT_MSG"
217
+
218
+ # Extract branch name (e.g., version-bump-20250810-084452)
219
+ BRANCH_NAME=$(echo "$COMMIT_MSG" | grep -o 'version-bump-[0-9]\{8\}-[0-9]\{6\}' | head -1)
220
+
221
+ if [ -n "$BRANCH_NAME" ]; then
222
+ echo "Attempting to delete branch: $BRANCH_NAME"
223
+
224
+ # Delete the remote branch
225
+ if git push origin --delete "$BRANCH_NAME" 2>/dev/null; then
226
+ echo "✅ Successfully deleted remote branch: $BRANCH_NAME"
227
+ else
228
+ echo "⚠️ Branch $BRANCH_NAME may have been already deleted or doesn't exist"
229
+ fi
230
+ else
231
+ echo "ℹ️ Could not extract version bump branch name from commit message"
232
+ echo "Commit message was: $COMMIT_MSG"
233
+ fi
234
+ env:
235
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
236
+
237
+ - name: Generate release notes
238
+ if: steps.check_version.outputs.is_version_bump == 'true'
239
+ id: release_notes
240
+ run: |
241
+ # Get commits since last tag (excluding current)
242
+ LAST_TAG=$(git describe --tags --abbrev=0 HEAD^ 2>/dev/null || echo "")
243
+
244
+ if [ -z "$LAST_TAG" ]; then
245
+ CHANGES=$(git log --pretty=format:"- [%s](https://github.com/${{ github.repository }}/commit/%H)" --no-merges HEAD^)
246
+ RELEASE_TYPE="Initial Release"
247
+ else
248
+ CHANGES=$(git log $LAST_TAG..HEAD^ --pretty=format:"- [%s](https://github.com/${{ github.repository }}/commit/%H)" --no-merges)
249
+ RELEASE_TYPE="Update"
250
+ fi
251
+
252
+ # Create release notes
253
+ cat > release_notes.md << EOF
254
+ ## $RELEASE_TYPE
255
+
256
+ ### Changes in this version:
257
+ $CHANGES
258
+
259
+ ### Installation:
260
+ \`\`\`bash
261
+ npm install freemium-ui@${{ steps.check_version.outputs.version }}
262
+ \`\`\`
263
+
264
+ ### Links:
265
+ - [npm Package](https://www.npmjs.com/package/freemium-ui)
266
+ - [Documentation](https://github.com/${{ github.repository }}/blob/main/README.md)
267
+
268
+ ---
269
+ *This release was automatically generated by GitHub Actions*
270
+ EOF
271
+
272
+ - name: Create GitHub Release
273
+ if: steps.check_version.outputs.is_version_bump == 'true'
274
+ run: |
275
+ gh release create ${{ steps.check_version.outputs.version }} \
276
+ --title "Release ${{ steps.check_version.outputs.version }}" \
277
+ --notes-file release_notes.md
278
+ echo "GitHub release created!"
279
+ env:
280
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
package/lib/index.cjs.js CHANGED
@@ -1060,28 +1060,27 @@ dark_mild:"#0b0c0d",dark_normal:"#141617",dark_bold:"#191a1c"}
1060
1060
  let n=t,r=e.replace(/^#/,"")
1061
1061
  ;8===e.length||4===e.length?(n=parseInt(e.slice(-2),16)/255,
1062
1062
  r=e.slice(0,-2)):3===r.length&&(r=r.replace(/(.)/g,"$1$1"))
1063
- ;const[o,a,i]=[0,2,4].map((e=>parseInt(r.slice(e,e+2),16)))
1064
- ;return`rgba(${o}, ${a}, ${i}, ${n.toFixed(2)})`},Lo={popover:900,dropdown:900,
1065
- mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,
1066
- snackbar:1400,tooltip:1500},Vo={mode:"light",direction:"ltr",breakpoints:{
1067
- keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:900,lg:1200,xl:1536},
1068
- unit:"px"},colors:{common:{black:Ho.black,white:Ho.white,accent:_o.A800},text:{
1069
- link:_o.A800,primary:So.E900,secondary:So.S700,disabled:So.S400,
1070
- placeholder:So.S300,error:_o.P800,inverse:Ho.white,semantic:{success:_o.J500,
1071
- warning:_o.C500,error:_o.P500,info:_o.A500}},fill:{base:So.S25,medium:So.S50,
1072
- dark:So.S100,surface:Ho.white,inverse:So.E900,hover:So.S50,disabled:So.S50,
1073
- hilight:_o.A50},semantic:{error:{bg:_o.P50,border:_o.P100},warning:{bg:_o.C50,
1074
- border:_o.C100},info:{bg:_o.A50,border:_o.A100},success:{bg:_o.J50,
1075
- border:_o.J100}},border:{light:So.S50,normal:So.S100,divider:So.S100,
1076
- hover:So.S300,active:_o.A800,disabled:So.S50,error:_o.P800},shadow:So.E900,
1077
- scrim:So.E900},typography:{fontFamily:Do,fontWeight:{bold:700,"semi-bold":600,
1078
- regular:400},primary:{fontSize:"14px",fontWeight:400,lineHeight:1.5},secondary:{
1079
- fontSize:"12px",fontWeight:400,lineHeight:1.5},heading:{fontSize:"16px",
1080
- fontWeight:400,lineHeight:1.25},heading1:{fontSize:"44px",fontWeight:400,
1081
- lineHeight:1.25},heading2:{fontSize:"32px",fontWeight:400,lineHeight:1.25},
1082
- heading3:{fontSize:"24px",fontWeight:400,lineHeight:1.25},heading4:{
1083
- fontSize:"18px",fontWeight:400,lineHeight:1.25},caption:{fontSize:"12px",
1084
- fontWeight:400,lineHeight:1}},
1063
+ ;return`rgba(${parseInt(r.substring(0,2)||"00",16)||0}, ${parseInt(r.substring(2,4)||"00",16)||0}, ${parseInt(r.substring(4,6)||"00",16)||0}, ${n.toFixed(2)})`
1064
+ },Lo={popover:900,dropdown:900,mobileStepper:1e3,fab:1050,speedDial:1050,
1065
+ appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Vo={mode:"light",
1066
+ direction:"ltr",breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,
1067
+ sm:600,md:900,lg:1200,xl:1536},unit:"px"},colors:{common:{black:Ho.black,
1068
+ white:Ho.white,accent:_o.A800},text:{link:_o.A800,primary:So.E900,
1069
+ secondary:So.S700,disabled:So.S400,placeholder:So.S300,error:_o.P800,
1070
+ inverse:Ho.white,semantic:{success:_o.J500,warning:_o.C500,error:_o.P500,
1071
+ info:_o.A500}},fill:{base:So.S25,medium:So.S50,dark:So.S100,surface:Ho.white,
1072
+ inverse:So.E900,hover:So.S50,disabled:So.S50,hilight:_o.A50},semantic:{error:{
1073
+ bg:_o.P50,border:_o.P100},warning:{bg:_o.C50,border:_o.C100},info:{bg:_o.A50,
1074
+ border:_o.A100},success:{bg:_o.J50,border:_o.J100}},border:{light:So.S50,
1075
+ normal:So.S100,divider:So.S100,hover:So.S300,active:_o.A800,disabled:So.S50,
1076
+ error:_o.P800},shadow:So.E900,scrim:So.E900},typography:{fontFamily:Do,
1077
+ fontWeight:{bold:700,"semi-bold":600,regular:400},primary:{fontSize:"14px",
1078
+ fontWeight:400,lineHeight:1.5},secondary:{fontSize:"12px",fontWeight:400,
1079
+ lineHeight:1.5},heading:{fontSize:"16px",fontWeight:400,lineHeight:1.25},
1080
+ heading1:{fontSize:"44px",fontWeight:400,lineHeight:1.25},heading2:{
1081
+ fontSize:"32px",fontWeight:400,lineHeight:1.25},heading3:{fontSize:"24px",
1082
+ fontWeight:400,lineHeight:1.25},heading4:{fontSize:"18px",fontWeight:400,
1083
+ lineHeight:1.25},caption:{fontSize:"12px",fontWeight:400,lineHeight:1}},
1085
1084
  shadows:["none",`0px 2px 1px -1px ${Ao(Ho.black,.2)},0px 1px 1px 0px ${Ao(Ho.black,.14)},0px 1px 3px 0px ${Ao(Ho.black,.12)}`,`0px 3px 1px -2px ${Ao(Ho.black,.2)},0px 2px 2px 0px ${Ao(Ho.black,.14)},0px 1px 5px 0px ${Ao(Ho.black,.12)}`,`0px 3px 3px -2px ${Ao(Ho.black,.2)},0px 3px 4px 0px ${Ao(Ho.black,.14)},0px 1px 8px 0px ${Ao(Ho.black,.12)}`],
1086
1085
  transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
1087
1086
  easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
@@ -3879,6 +3878,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),ym=xr.textarea`
3879
3878
  min-width: 2.5rem;
3880
3879
  `,wm=xr.input`
3881
3880
  flex: 1;
3881
+ min-width: 0;
3882
3882
  border: unset;
3883
3883
  outline: unset;
3884
3884
  padding: unset;
@@ -3903,6 +3903,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),ym=xr.textarea`
3903
3903
  `,Cm=xr.div`
3904
3904
  display: flex;
3905
3905
  flex: 1;
3906
+ min-width: 0;
3906
3907
  gap: 4px;
3907
3908
  font-family: ${({theme:e})=>e.typography.fontFamily};
3908
3909
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
package/lib/index.d.ts CHANGED
@@ -1616,7 +1616,7 @@ interface FreemiumUiButtonTheme {
1616
1616
  disabledBackgroundTo: string;
1617
1617
  }
1618
1618
  interface FreemiumUiTheme {
1619
- mode: 'light' | 'dark' | 'dew-light' | 'dew-dark';
1619
+ mode: 'light' | 'dark';
1620
1620
  direction: 'ltr' | 'rtl';
1621
1621
  breakpoints: Breakpoints;
1622
1622
  colors: Colors;
package/lib/index.js CHANGED
@@ -1052,28 +1052,27 @@ dark_mild:"#0b0c0d",dark_normal:"#141617",dark_bold:"#191a1c"}
1052
1052
  let n=t,r=e.replace(/^#/,"")
1053
1053
  ;8===e.length||4===e.length?(n=parseInt(e.slice(-2),16)/255,
1054
1054
  r=e.slice(0,-2)):3===r.length&&(r=r.replace(/(.)/g,"$1$1"))
1055
- ;const[o,a,i]=[0,2,4].map((e=>parseInt(r.slice(e,e+2),16)))
1056
- ;return`rgba(${o}, ${a}, ${i}, ${n.toFixed(2)})`},Jo={popover:900,dropdown:900,
1057
- mobileStepper:1e3,fab:1050,speedDial:1050,appBar:1100,drawer:1200,modal:1300,
1058
- snackbar:1400,tooltip:1500},Qo={mode:"light",direction:"ltr",breakpoints:{
1059
- keys:["xs","sm","md","lg","xl"],values:{xs:0,sm:600,md:900,lg:1200,xl:1536},
1060
- unit:"px"},colors:{common:{black:qo.black,white:qo.white,accent:Ko.A800},text:{
1061
- link:Ko.A800,primary:Go.E900,secondary:Go.S700,disabled:Go.S400,
1062
- placeholder:Go.S300,error:Ko.P800,inverse:qo.white,semantic:{success:Ko.J500,
1063
- warning:Ko.C500,error:Ko.P500,info:Ko.A500}},fill:{base:Go.S25,medium:Go.S50,
1064
- dark:Go.S100,surface:qo.white,inverse:Go.E900,hover:Go.S50,disabled:Go.S50,
1065
- hilight:Ko.A50},semantic:{error:{bg:Ko.P50,border:Ko.P100},warning:{bg:Ko.C50,
1066
- border:Ko.C100},info:{bg:Ko.A50,border:Ko.A100},success:{bg:Ko.J50,
1067
- border:Ko.J100}},border:{light:Go.S50,normal:Go.S100,divider:Go.S100,
1068
- hover:Go.S300,active:Ko.A800,disabled:Go.S50,error:Ko.P800},shadow:Go.E900,
1069
- scrim:Go.E900},typography:{fontFamily:Zo,fontWeight:{bold:700,"semi-bold":600,
1070
- regular:400},primary:{fontSize:"14px",fontWeight:400,lineHeight:1.5},secondary:{
1071
- fontSize:"12px",fontWeight:400,lineHeight:1.5},heading:{fontSize:"16px",
1072
- fontWeight:400,lineHeight:1.25},heading1:{fontSize:"44px",fontWeight:400,
1073
- lineHeight:1.25},heading2:{fontSize:"32px",fontWeight:400,lineHeight:1.25},
1074
- heading3:{fontSize:"24px",fontWeight:400,lineHeight:1.25},heading4:{
1075
- fontSize:"18px",fontWeight:400,lineHeight:1.25},caption:{fontSize:"12px",
1076
- fontWeight:400,lineHeight:1}},
1055
+ ;return`rgba(${parseInt(r.substring(0,2)||"00",16)||0}, ${parseInt(r.substring(2,4)||"00",16)||0}, ${parseInt(r.substring(4,6)||"00",16)||0}, ${n.toFixed(2)})`
1056
+ },Jo={popover:900,dropdown:900,mobileStepper:1e3,fab:1050,speedDial:1050,
1057
+ appBar:1100,drawer:1200,modal:1300,snackbar:1400,tooltip:1500},Qo={mode:"light",
1058
+ direction:"ltr",breakpoints:{keys:["xs","sm","md","lg","xl"],values:{xs:0,
1059
+ sm:600,md:900,lg:1200,xl:1536},unit:"px"},colors:{common:{black:qo.black,
1060
+ white:qo.white,accent:Ko.A800},text:{link:Ko.A800,primary:Go.E900,
1061
+ secondary:Go.S700,disabled:Go.S400,placeholder:Go.S300,error:Ko.P800,
1062
+ inverse:qo.white,semantic:{success:Ko.J500,warning:Ko.C500,error:Ko.P500,
1063
+ info:Ko.A500}},fill:{base:Go.S25,medium:Go.S50,dark:Go.S100,surface:qo.white,
1064
+ inverse:Go.E900,hover:Go.S50,disabled:Go.S50,hilight:Ko.A50},semantic:{error:{
1065
+ bg:Ko.P50,border:Ko.P100},warning:{bg:Ko.C50,border:Ko.C100},info:{bg:Ko.A50,
1066
+ border:Ko.A100},success:{bg:Ko.J50,border:Ko.J100}},border:{light:Go.S50,
1067
+ normal:Go.S100,divider:Go.S100,hover:Go.S300,active:Ko.A800,disabled:Go.S50,
1068
+ error:Ko.P800},shadow:Go.E900,scrim:Go.E900},typography:{fontFamily:Zo,
1069
+ fontWeight:{bold:700,"semi-bold":600,regular:400},primary:{fontSize:"14px",
1070
+ fontWeight:400,lineHeight:1.5},secondary:{fontSize:"12px",fontWeight:400,
1071
+ lineHeight:1.5},heading:{fontSize:"16px",fontWeight:400,lineHeight:1.25},
1072
+ heading1:{fontSize:"44px",fontWeight:400,lineHeight:1.25},heading2:{
1073
+ fontSize:"32px",fontWeight:400,lineHeight:1.25},heading3:{fontSize:"24px",
1074
+ fontWeight:400,lineHeight:1.25},heading4:{fontSize:"18px",fontWeight:400,
1075
+ lineHeight:1.25},caption:{fontSize:"12px",fontWeight:400,lineHeight:1}},
1077
1076
  shadows:["none",`0px 2px 1px -1px ${Xo(qo.black,.2)},0px 1px 1px 0px ${Xo(qo.black,.14)},0px 1px 3px 0px ${Xo(qo.black,.12)}`,`0px 3px 1px -2px ${Xo(qo.black,.2)},0px 2px 2px 0px ${Xo(qo.black,.14)},0px 1px 5px 0px ${Xo(qo.black,.12)}`,`0px 3px 3px -2px ${Xo(qo.black,.2)},0px 3px 4px 0px ${Xo(qo.black,.14)},0px 1px 8px 0px ${Xo(qo.black,.12)}`],
1078
1077
  transitions:{easing:{easeInOut:"cubic-bezier(0.4, 0, 0.2, 1)",
1079
1078
  easeOut:"cubic-bezier(0.0, 0, 0.2, 1)",easeIn:"cubic-bezier(0.16, 1, 0.3, 1)",
@@ -3840,6 +3839,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Fm=Ur.textarea`
3840
3839
  min-width: 2.5rem;
3841
3840
  `,Bm=Ur.input`
3842
3841
  flex: 1;
3842
+ min-width: 0;
3843
3843
  border: unset;
3844
3844
  outline: unset;
3845
3845
  padding: unset;
@@ -3864,6 +3864,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),Fm=Ur.textarea`
3864
3864
  `,jm=Ur.div`
3865
3865
  display: flex;
3866
3866
  flex: 1;
3867
+ min-width: 0;
3867
3868
  gap: 4px;
3868
3869
  font-family: ${({theme:e})=>e.typography.fontFamily};
3869
3870
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.120",
3
+ "version": "2.0.122",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "./index.js",
6
6
  "module": "./index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.120",
3
+ "version": "2.0.122",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",