@starasia/date 5.6.1 → 7.0.0

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/date.es.js CHANGED
@@ -1,11 +1,10 @@
1
1
  import { jsxs as z, jsx as s, Fragment as yn } from "react/jsx-runtime";
2
2
  import wn, { useState as G, useRef as _, useEffect as P, forwardRef as xn, useMemo as tn } from "react";
3
- const gn = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
4
-
3
+ const gn = `
5
4
  * {
6
5
  margin: 0;
7
6
  padding: 0;
8
- font-family: "Poppins", sans-serif;
7
+ font-family: var(--sa-font-family, "Inter", sans-serif);
9
8
  font-style: normal;
10
9
  /* box-sizing: border-box; */
11
10
  }
@@ -46,7 +45,7 @@ const gn = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,w
46
45
  flex-direction: column;
47
46
  gap: 8px;
48
47
  width: max-content;
49
- font-family: "Poppins", sans-serif;
48
+ font-family: var(--sa-font-family, "Inter", sans-serif);
50
49
  }
51
50
  .sa-date-field-fullwidth {
52
51
  width: 100%;
@@ -445,7 +444,7 @@ const gn = `@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,w
445
444
 
446
445
  .sa-calendar-input::placeholder {
447
446
  color: var(--sa-date-placeholder);
448
- font-weight: var(--sa-font-weight-normal, 300);
447
+ font-weight: var(--sa-font-weight-normal, 400);
449
448
  }
450
449
 
451
450
  /* INPUT ICON */
package/dist/date.umd.js CHANGED
@@ -1,9 +1,8 @@
1
- (function(G,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],e):(G=typeof globalThis<"u"?globalThis:G||self,e(G.Date={},G.jsxRuntime,G.React))})(this,function(G,e,g){"use strict";const sn=`@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
2
-
1
+ (function(G,e){typeof exports=="object"&&typeof module<"u"?e(exports,require("react/jsx-runtime"),require("react")):typeof define=="function"&&define.amd?define(["exports","react/jsx-runtime","react"],e):(G=typeof globalThis<"u"?globalThis:G||self,e(G.Date={},G.jsxRuntime,G.React))})(this,function(G,e,g){"use strict";const sn=`
3
2
  * {
4
3
  margin: 0;
5
4
  padding: 0;
6
- font-family: "Poppins", sans-serif;
5
+ font-family: var(--sa-font-family, "Inter", sans-serif);
7
6
  font-style: normal;
8
7
  /* box-sizing: border-box; */
9
8
  }
@@ -44,7 +43,7 @@
44
43
  flex-direction: column;
45
44
  gap: 8px;
46
45
  width: max-content;
47
- font-family: "Poppins", sans-serif;
46
+ font-family: var(--sa-font-family, "Inter", sans-serif);
48
47
  }
49
48
  .sa-date-field-fullwidth {
50
49
  width: 100%;
@@ -443,7 +442,7 @@
443
442
 
444
443
  .sa-calendar-input::placeholder {
445
444
  color: var(--sa-date-placeholder);
446
- font-weight: var(--sa-font-weight-normal, 300);
445
+ font-weight: var(--sa-font-weight-normal, 400);
447
446
  }
448
447
 
449
448
  /* INPUT ICON */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@starasia/date",
3
- "version": "5.6.1",
3
+ "version": "7.0.0",
4
4
  "description": "date component for starasia UI",
5
5
  "author": "Prawito Hudoro",
6
6
  "main": "dist/date.umd.js",