freemium-ui 2.0.37 → 2.0.39

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.
Binary file
package/lib/index.cjs.js CHANGED
@@ -2243,7 +2243,7 @@ className:`input-helper ${t.className??""}`.trim()},t.children),Cc=yr.textarea`
2243
2243
  place-content: center;
2244
2244
  }
2245
2245
  div.end-max-length {
2246
- text-align: ${({theme:e,$forceInputDir:t})=>"rtl"===(t||e.direction)?"right":"left"};
2246
+ text-align: ${({theme:e,$forceInputDir:t})=>"rtl"===(t||e.direction)?"left":"right"} !important;
2247
2247
  }
2248
2248
  `,xc=yr.div`
2249
2249
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
@@ -4585,6 +4585,7 @@ modal:!0}))}))``,By=yr(Ty)``,jy=yr(Oy)``,Uy=yr(Iy)``,Yy=yr(Ry)`
4585
4585
  border-bottom-left-radius: 8px;
4586
4586
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
4587
4587
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
4588
+ color: ${({theme:e})=>e.colors.text.primary};
4588
4589
  &:focus {
4589
4590
  outline: none;
4590
4591
  }
@@ -4609,6 +4610,7 @@ modal:!0}))}))``,By=yr(Ty)``,jy=yr(Oy)``,Uy=yr(Iy)``,Yy=yr(Ry)`
4609
4610
  padding: 32px 32px
4610
4611
  ${({$hasdescription:e})=>e?"0px":"16px"} 32px;
4611
4612
  `,Ky=yr(Fy)`
4613
+ color: ${({theme:e})=>e.colors.text.primary};
4612
4614
  font-family: ${({theme:e})=>e.typography.fontFamily};
4613
4615
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
4614
4616
  font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
package/lib/index.js CHANGED
@@ -2237,7 +2237,7 @@ className:`input-helper ${e.className??""}`.trim()},e.children),jc=Or.textarea`
2237
2237
  place-content: center;
2238
2238
  }
2239
2239
  div.end-max-length {
2240
- text-align: ${({theme:e,$forceInputDir:t})=>"rtl"===(t||e.direction)?"right":"left"};
2240
+ text-align: ${({theme:e,$forceInputDir:t})=>"rtl"===(t||e.direction)?"left":"right"} !important;
2241
2241
  }
2242
2242
  `,Wc=Or.div`
2243
2243
  font-size: ${({theme:e})=>e.typography.secondary.fontSize};
@@ -4584,6 +4584,7 @@ const{__scopeAlertDialog:t,...n}=e,r=Zy(t);return o($y,E({},r,n,{modal:!0}))
4584
4584
  border-bottom-left-radius: 8px;
4585
4585
  animation-duration: ${({theme:e})=>e.transitions.duration.standard};
4586
4586
  animation-timing-function: ${({theme:e})=>e.transitions.easing.easeIn};
4587
+ color: ${({theme:e})=>e.colors.text.primary};
4587
4588
  &:focus {
4588
4589
  outline: none;
4589
4590
  }
@@ -4608,6 +4609,7 @@ const{__scopeAlertDialog:t,...n}=e,r=Zy(t);return o($y,E({},r,n,{modal:!0}))
4608
4609
  padding: 32px 32px
4609
4610
  ${({$hasdescription:e})=>e?"0px":"16px"} 32px;
4610
4611
  `,bb=Or(db)`
4612
+ color: ${({theme:e})=>e.colors.text.primary};
4611
4613
  font-family: ${({theme:e})=>e.typography.fontFamily};
4612
4614
  font-size: ${({theme:e})=>e.typography.primary.fontSize};
4613
4615
  font-weight: ${({theme:e})=>e.typography.fontWeight.regular};
package/lib/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "freemium-ui",
3
- "version": "2.0.37",
3
+ "version": "2.0.39",
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.37",
3
+ "version": "2.0.39",
4
4
  "description": "React Ui Components for Freemium Apps",
5
5
  "main": "lib/index.cjs.js",
6
6
  "module": "lib/index.js",
package/dist/README.md DELETED
@@ -1,86 +0,0 @@
1
- <h1 align="center">Freemium Ui</h1>
2
-
3
- ## [DEMO](https://freemium-ui.netlify.app)
4
-
5
- [React](https://reactjs.org/) based light weight ui components based on [Styled Components](https://styled-components.com/)
6
-
7
- ## Installation
8
-
9
- Peer Dependencies to be installed
10
-
11
- ```
12
- npm install styled-components
13
- ```
14
-
15
- Install the package
16
-
17
- ```
18
- npm install freemium-ui
19
- ```
20
-
21
- Please note that `@next` will only point to pre-releases; to get the latest stable release use `@latest` instead.
22
-
23
- ## Usage
24
-
25
- Here is a quick example to get you started, **it's all you need**:
26
-
27
- ```jsx
28
- import React from 'react';
29
- import ReactDOM from 'react-dom';
30
- import { Button } from 'freemium-ui';
31
- // import { Button } from 'freemium-ui/Button';
32
-
33
- function App() {
34
- return <Button>Freemium Button</Button>;
35
- }
36
-
37
- ReactDOM.render(<App />, document.querySelector('#app'));
38
- ```
39
-
40
- ## Contribution
41
-
42
- Install Dependencies
43
-
44
- ```
45
- npm install
46
- ```
47
-
48
- Start the app using storybook
49
-
50
- ```
51
- npm run storybook
52
- ```
53
-
54
- Build Freemium Ui Core Components
55
-
56
- ```
57
- npm run build
58
- ```
59
-
60
- JavaScript heap out of memory could lead to build failure. Check the [official docs](https://rollupjs.org/troubleshooting/#error-javascript-heap-out-of-memory). Or execute any of the required below config
61
-
62
- ```
63
- export NODE_OPTIONS="--max-old-space-size=8192"
64
- export NODE_OPTIONS="--max-old-space-size=12288"
65
- export NODE_OPTIONS="--max-old-space-size=16384"
66
- ```
67
-
68
- To check the heap size in MB
69
-
70
- ```
71
- node -e 'console.log(v8.getHeapStatistics().heap_size_limit/(1024*1024))'
72
- ```
73
-
74
- Generate a PAT with `admin:org`, `write:packages`, `read:packages`, `delete:packages`
75
-
76
- Authenticate to npm github package
77
-
78
- ```
79
- npm login --registry=https://registry.npmjs.org/
80
- ```
81
-
82
- Publish the package to npm
83
-
84
- ```
85
- npm publish
86
- ```