@idds/styles 1.2.5 → 1.2.7
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.7",
|
|
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,22 @@
|
|
|
439
439
|
opacity: 0.4;
|
|
440
440
|
}
|
|
441
441
|
|
|
442
|
-
.ina-date-picker__day--today {
|
|
443
|
-
|
|
442
|
+
.ina-date-picker__day.ina-date-picker__day--today {
|
|
443
|
+
display: flex;
|
|
444
|
+
flex-direction: column;
|
|
445
|
+
align-items: center;
|
|
446
|
+
justify-content: center;
|
|
444
447
|
}
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
448
|
+
|
|
449
|
+
.ina-date-picker__day--today::before {
|
|
450
|
+
content: 'Hari Ini';
|
|
451
|
+
display: block;
|
|
452
|
+
font-size: 10px;
|
|
453
|
+
margin-bottom: 4px;
|
|
450
454
|
color: var(--ina-content-primary);
|
|
451
|
-
font-size: var(--ina-font-3xs, 8px);
|
|
452
455
|
}
|
|
453
456
|
|
|
454
|
-
.ina-date-picker__day--today.ina-date-picker__day--selected
|
|
455
|
-
> .ina-date-picker__today-label {
|
|
457
|
+
.ina-date-picker__day--today.ina-date-picker__day--selected::before {
|
|
456
458
|
color: var(--ina-white);
|
|
457
459
|
}
|
|
458
460
|
|
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;
|