@idds/styles 1.2.4 → 1.2.6
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/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idds/styles",
|
|
3
|
-
"version": "1.2.
|
|
3
|
+
"version": "1.2.6",
|
|
4
4
|
"description": "Shared CSS styles and colors for INA Digital Design System",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./src/index.css",
|
|
@@ -27,6 +27,8 @@
|
|
|
27
27
|
"./tailwind/css/lan.css": "./src/tailwind/css/lan.css"
|
|
28
28
|
},
|
|
29
29
|
"scripts": {
|
|
30
|
+
"build:postcss:min": "postcss src/index.css -o dist/index.min.css",
|
|
31
|
+
"build:min": "npm run build:postcss:min",
|
|
30
32
|
"prepublishOnly": "echo 'Preparing package for publish...'"
|
|
31
33
|
},
|
|
32
34
|
"files": [
|
|
@@ -51,5 +53,12 @@
|
|
|
51
53
|
"bugs": {
|
|
52
54
|
"url": "https://github.com/inadigital/designsystem-advanced/issues"
|
|
53
55
|
},
|
|
54
|
-
"homepage": "https://github.com/inadigital/designsystem-advanced#readme"
|
|
56
|
+
"homepage": "https://github.com/inadigital/designsystem-advanced#readme",
|
|
57
|
+
"devDependencies": {
|
|
58
|
+
"autoprefixer": "^10.4.22",
|
|
59
|
+
"cssnano": "^7.1.2",
|
|
60
|
+
"postcss": "^8.5.6",
|
|
61
|
+
"postcss-cli": "^11.0.1",
|
|
62
|
+
"postcss-import": "^16.1.1"
|
|
63
|
+
}
|
|
55
64
|
}
|
|
@@ -439,20 +439,15 @@
|
|
|
439
439
|
opacity: 0.4;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
.ina-date-picker__day--today {
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
top: 0;
|
|
448
|
-
left: 0;
|
|
449
|
-
right: 0;
|
|
442
|
+
.ina-date-picker__day--today::before {
|
|
443
|
+
content: 'Hari Ini';
|
|
444
|
+
display: block;
|
|
445
|
+
font-size: 10px;
|
|
446
|
+
margin-bottom: 4px;
|
|
450
447
|
color: var(--ina-content-primary);
|
|
451
|
-
font-size: var(--ina-font-3xs, 8px);
|
|
452
448
|
}
|
|
453
449
|
|
|
454
|
-
.ina-date-picker__day--today.ina-date-picker__day--selected
|
|
455
|
-
> .ina-date-picker__today-label {
|
|
450
|
+
.ina-date-picker__day--today.ina-date-picker__day--selected::before {
|
|
456
451
|
color: var(--ina-white);
|
|
457
452
|
}
|
|
458
453
|
|
package/src/components/toast.css
CHANGED
|
@@ -193,6 +193,25 @@
|
|
|
193
193
|
color: var(--ina-white) !important;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
+
/* State styles - Outline (default style) */
|
|
197
|
+
.ina-toast--state-default.ina-toast--style-outline {
|
|
198
|
+
background-color: var(--ina-background-primary) !important;
|
|
199
|
+
border: 1px solid var(--ina-content-primary) !important;
|
|
200
|
+
color: var(--ina-content-primary) !important;
|
|
201
|
+
}
|
|
202
|
+
|
|
203
|
+
.ina-toast--state-destructive.ina-toast--style-outline {
|
|
204
|
+
background-color: var(--ina-negative-50) !important;
|
|
205
|
+
border: 1px solid var(--ina-negative-500) !important;
|
|
206
|
+
color: var(--ina-negative-500) !important;
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
.ina-toast--state-positive.ina-toast--style-outline {
|
|
210
|
+
background-color: var(--ina-positive-50) !important;
|
|
211
|
+
border: 1px solid var(--ina-positive-700) !important;
|
|
212
|
+
color: var(--ina-positive-700) !important;
|
|
213
|
+
}
|
|
214
|
+
|
|
196
215
|
/* Visibility states */
|
|
197
216
|
.ina-toast--visible {
|
|
198
217
|
opacity: 1;
|
|
@@ -46,20 +46,10 @@
|
|
|
46
46
|
padding: 8px 12px;
|
|
47
47
|
border-radius: 6px;
|
|
48
48
|
font-size: 12px;
|
|
49
|
-
white-space: normal;
|
|
50
|
-
word-wrap: break-word;
|
|
51
49
|
max-width: 320px;
|
|
52
|
-
min-width: fit-content;
|
|
53
50
|
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
|
|
54
51
|
}
|
|
55
52
|
|
|
56
|
-
.ina-tooltip__bubble--basic {
|
|
57
|
-
white-space: normal;
|
|
58
|
-
word-wrap: break-word;
|
|
59
|
-
max-width: 320px;
|
|
60
|
-
min-width: fit-content;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
53
|
/* Positioning - Top */
|
|
64
54
|
.ina-tooltip--placement-top .ina-tooltip__content {
|
|
65
55
|
bottom: calc(100% - 10px);
|