@stackshift-ui/date-picker 1.0.0-beta.8 → 1.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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stackshift-ui/date-picker",
3
3
  "description": "A date picker component with range and presets.",
4
- "version": "1.0.0-beta.8",
4
+ "version": "1.0.0",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "main": "./dist/index.js",
@@ -38,16 +38,16 @@
38
38
  "classnames": "^2.5.1",
39
39
  "date-fns": "^4.1.0",
40
40
  "lucide-react": "^0.468.0",
41
- "@stackshift-ui/calendar": "1.0.0-beta.8",
42
- "@stackshift-ui/label": "1.0.0-beta.6",
43
- "@stackshift-ui/button": "7.0.0-beta.7",
44
- "@stackshift-ui/input": "7.0.0-beta.5",
45
- "@stackshift-ui/popover": "1.0.0-beta.6",
46
- "@stackshift-ui/scripts": "7.0.0-beta.4",
47
- "@stackshift-ui/system": "7.0.0-beta.5"
41
+ "@stackshift-ui/calendar": "1.0.0",
42
+ "@stackshift-ui/system": "6.1.0",
43
+ "@stackshift-ui/scripts": "6.1.0",
44
+ "@stackshift-ui/button": "6.1.0",
45
+ "@stackshift-ui/popover": "1.0.0",
46
+ "@stackshift-ui/label": "1.0.0",
47
+ "@stackshift-ui/input": "6.1.0"
48
48
  },
49
49
  "peerDependencies": {
50
- "@stackshift-ui/system": ">=7.0.0-beta.5",
50
+ "@stackshift-ui/system": ">=7.0.0",
51
51
  "@types/react": "16.8 - 19",
52
52
  "next": "10 - 14",
53
53
  "react": "16.8 - 19",
@@ -49,7 +49,7 @@ export function DatePicker({
49
49
  </Label>
50
50
  <Popover open={open} onOpenChange={setOpen}>
51
51
  <PopoverTrigger asChild>
52
- <Button variant="outline" id="date" className="w-48 justify-between font-normal">
52
+ <Button variant="outline" id="date" className="w-48 font-normal [&>span]:w-full [&>span]:justify-between">
53
53
  {date ? date.toLocaleDateString() : "Select date"}
54
54
  <ChevronDownIcon />
55
55
  </Button>
@@ -195,7 +195,7 @@ export function DatePickerTime({ label, selectedDate, onSelect, ...props }: Date
195
195
  </Label>
196
196
  <Popover open={open} onOpenChange={setOpen}>
197
197
  <PopoverTrigger asChild>
198
- <Button variant="outline" id="date-picker" className="w-32 justify-between font-normal">
198
+ <Button variant="outline" id="date-picker" className="w-32 font-normal [&>span]:w-full [&>span]:justify-between">
199
199
  {date ? date.toLocaleDateString() : "Select date"}
200
200
  <ChevronDownIcon />
201
201
  </Button>