@popsure/dirty-swan 0.27.28 → 0.27.29
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/index.css +12 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/lib/scss/utils/_index.scss +12 -0
- package/package.json +1 -1
- package/src/lib/components/input/currency/index.stories.mdx +2 -0
- package/src/lib/components/input/index.tsx +1 -1
- package/src/lib/components/input/style.module.scss +0 -6
- package/src/lib/scss/utils/_index.scss +12 -0
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
@function url-encoded-color($color) {
|
|
2
2
|
@return '%23' + str-slice('#{$color}', 2, -1);
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
.sr-only {
|
|
6
|
+
border-width: 0;
|
|
7
|
+
clip: rect(0, 0, 0, 0);
|
|
8
|
+
height: 1px;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding: 0;
|
|
12
|
+
position: absolute;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
width: 1px;
|
|
15
|
+
}
|
package/package.json
CHANGED
|
@@ -27,5 +27,7 @@ The following will be done:
|
|
|
27
27
|
<CurrencyInput className="wmx5 mt8" label="Amount" placeholder="100" />
|
|
28
28
|
<h4 className="p-h4 mt24">With label and no placeholder</h4>
|
|
29
29
|
<CurrencyInput className="wmx5 mt8" label="Amount" />
|
|
30
|
+
<h4 className="p-h4 mt24">With placeholder and no label</h4>
|
|
31
|
+
<CurrencyInput className="wmx5 mt8" hideLabel label="Amount" placeholder="0" />
|
|
30
32
|
</>
|
|
31
33
|
</Preview>
|
|
@@ -1,3 +1,15 @@
|
|
|
1
1
|
@function url-encoded-color($color) {
|
|
2
2
|
@return '%23' + str-slice('#{$color}', 2, -1);
|
|
3
3
|
}
|
|
4
|
+
|
|
5
|
+
.sr-only {
|
|
6
|
+
border-width: 0;
|
|
7
|
+
clip: rect(0, 0, 0, 0);
|
|
8
|
+
height: 1px;
|
|
9
|
+
margin: -1px;
|
|
10
|
+
overflow: hidden;
|
|
11
|
+
padding: 0;
|
|
12
|
+
position: absolute;
|
|
13
|
+
white-space: nowrap;
|
|
14
|
+
width: 1px;
|
|
15
|
+
}
|