@shoplflow/mcp 0.1.9 → 0.1.11

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.
Files changed (2) hide show
  1. package/dist/index.js +15 -1
  2. package/package.json +4 -4
package/dist/index.js CHANGED
@@ -6734,6 +6734,12 @@ var components_generated_default = {
6734
6734
  }
6735
6735
  ],
6736
6736
  props: [
6737
+ {
6738
+ name: "bottomSource",
6739
+ optional: true,
6740
+ type: "ReactNode",
6741
+ description: "\uB2EC\uB825 \uD558\uB2E8(\uB0A0\uC9DC \uCE78 \uC544\uB798)\uC5D0 \uB123\uC744 \uB0B4\uC6A9 \u2014 \uC608: \uCD5C\uB300 \uC120\uD0DD \uAE30\uAC04 \uC548\uB0B4. \uB0A0\uC9DC \uCE78\uACFC 8px \uAC04\uACA9\uC744 \uB450\uACE0 \uB2EC\uB825 \uC548\uCABD \uC5EC\uBC31 \uC548\uC5D0 \uC804\uCCB4 \uD3ED\uC73C\uB85C \uB193\uC778\uB2E4. \uB0B4\uC6A9\xB7\uC2A4\uD0C0\uC77C\uC740 \uC0AC\uC6A9\uD558\uB294 \uCABD\uC5D0\uC11C \uC815\uD55C\uB2E4"
6742
+ },
6737
6743
  {
6738
6744
  name: "calendarType",
6739
6745
  optional: false,
@@ -9450,7 +9456,7 @@ var stories_generated_default = {
9450
9456
  source: "packages/base/src/components (each *.stories.tsx)",
9451
9457
  importFrom: "@shoplflow/base",
9452
9458
  count: 43,
9453
- exampleCount: 156,
9459
+ exampleCount: 158,
9454
9460
  modules: [
9455
9461
  {
9456
9462
  name: "AnnualDatepicker",
@@ -9686,6 +9692,14 @@ var stories_generated_default = {
9686
9692
  story: "SmallSize",
9687
9693
  code: "<Stack width='400px'>\n <Button\n className='test'\n onClick={() => {\n setIsOpen((prev) => !prev);\n }}\n >\n DatePicker\uB97C \uBCF4\uB824\uBA74 \uD074\uB9AD\uD574\uC8FC\uC138\uC694~\n </Button>\n {isOpen && (\n <DayDatepicker\n className='test'\n highlightDates={startDate ? [startDate] : undefined}\n startDate={startDate || undefined}\n endDate={endDate || undefined}\n calendarType={{\n type: 'range',\n handleDayRangeChange(dates) {\n if (Array.isArray(dates)) {\n const [start, end] = dates;\n setStartDate(start);\n setEndDate(end);\n } else {\n setStartDate(dates);\n }\n },\n }}\n sizeVar={'S'}\n locale={ko}\n />\n )}\n </Stack>"
9688
9694
  },
9695
+ {
9696
+ story: "WithBottomSource",
9697
+ code: "<Stack width='280px' style={{ boxShadow: '0 10px 30px 0 rgba(51, 51, 51, 0.2)', borderRadius: '8px' }}>\n <DayDatepicker\n startDate={startDate || undefined}\n endDate={endDate || undefined}\n calendarType={{\n type: 'range',\n handleDayRangeChange([start, end]) {\n setStartDate(start);\n setEndDate(end);\n },\n }}\n sizeVar={'S'}\n locale={ko}\n bottomSource={maxRangeNotice}\n />\n </Stack>"
9698
+ },
9699
+ {
9700
+ story: "WithBottomSourceMaxRange",
9701
+ code: "<Stack width='280px' style={{ boxShadow: '0 10px 30px 0 rgba(51, 51, 51, 0.2)', borderRadius: '8px' }}>\n <DayDatepicker\n startDate={startDate || undefined}\n endDate={endDate || undefined}\n minDate={anchorDate ? subDays(anchorDate, MAX_RANGE_DAYS - 1) : undefined}\n maxDate={anchorDate ? addDays(anchorDate, MAX_RANGE_DAYS - 1) : undefined}\n calendarType={{\n type: 'range',\n handleDayRangeChange([start, end]) {\n // react-datepicker \uB294 \uC2DC\uC791\uC77C\uBCF4\uB2E4 \uC55E \uB0A0\uC9DC\uB97C \uB204\uB974\uBA74 \uC2DC\uC791\uC77C\uC744 \uBC14\uAFB8\uBBC0\uB85C [\uC55E \uB0A0\uC9DC, \uCCAB \uC120\uD0DD\uC77C] \uB85C \uBC14\uAFD4 \uC900\uB2E4\n if (anchorDate && start && !end && isBefore(start, anchorDate)) {\n setStartDate(start);\n setEndDate(anchorDate);\n return;\n }\n setStartDate(start);\n setEndDate(end);\n },\n }}\n sizeVar={'S'}\n locale={ko}\n bottomSource={maxRangeNotice}\n />\n </Stack>"
9702
+ },
9689
9703
  {
9690
9704
  story: "Multiple",
9691
9705
  code: "<Stack width='400px'>\n <DayDatepicker\n calendarType={{\n type: 'multiple',\n handleMutlipleDaysChange(date) {\n setSelectDates(date);\n },\n }}\n selectedDates={selectDates || undefined}\n sizeVar={'M'}\n locale={ko}\n />\n </Stack>"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shoplflow/mcp",
3
- "version": "0.1.9",
3
+ "version": "0.1.11",
4
4
  "description": "Model Context Protocol server exposing the shoplflow design system (tokens, components, icons) to AI coding agents.",
5
5
  "keywords": [
6
6
  "mcp",
@@ -55,9 +55,9 @@
55
55
  "ts-morph": "^24.0.0",
56
56
  "tsup": "7.2.0",
57
57
  "typescript": "6.0.3",
58
- "@shoplflow/base": "0.49.7",
59
- "@shoplflow/hada-assets": "0.1.12",
60
- "@shoplflow/shopl-assets": "0.12.57"
58
+ "@shoplflow/base": "0.49.9",
59
+ "@shoplflow/shopl-assets": "0.12.58",
60
+ "@shoplflow/hada-assets": "0.1.12"
61
61
  },
62
62
  "repository": {
63
63
  "type": "git",